forked from rack/rack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows Rack to support byte-range requests (via the HTTP 1.1 "Range:" header) for static files, even when sendfile is not being used. Conforms to RFC 2616 sec. 14.35 _except_ that multiple byte-ranges are not supported yet. (They're parsed correctly, but the response body would need to be a MIME multipart.) Tested in Ruby 1.8.7 on Mac OS X 10.6.4. Signed-off-by: raggi <jftucker@gmail.com>
- Loading branch information
Showing
2 changed files
with
146 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters