-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Byte-Range Support? #84
Comments
Ahh, thanks @coderhaoxin. However doesn't this mean that if a client sent a request for a very large file (let's say 1GB) with a |
Similarly, if a client sent a request with |
|
Anyone working on this? I am currently using koa-send and need byte-range support. I'd be willing to contribute to this since I'll need to write it anyway. |
@PFWhite PR welcome :) |
@coderhaoxin PR up! |
Why not simply depend on |
I'm not familiar with the library. I instead read the spec, wrote the tests and implemented the feature. Also I recently wasted 8 hours tracking down an issue with a body parsing Middleware that didn't couldn't read multipart form data without a content length so I had to write one with busboy. Here I knew what I needed, how to do it, how long it would take, didn't want another dependency, and saw that people wanted this too so why not write it and give back to Koa-send. |
#121 i see there was a pr here that hasn't fixed its merge conflicts, i could really use this for my own application |
Are there plans to add byte-range support to this? Similar to the send module that express uses?
The text was updated successfully, but these errors were encountered: