[tahoe-dev] darcs patch: Improve HTTP/1.1 byterange handling
Jeremy Fitzhardinge
jeremy at goop.org
Tue Mar 9 19:15:40 PST 2010
Tue Mar 9 18:59:13 PST 2010 Jeremy Fitzhardinge <jeremy at goop.org>
* Improve HTTP/1.1 byterange handling
Fix parsing of a Range: header to support:
- multiple ranges (parsed, but not returned)
- suffix byte ranges ("-2139")
- correct handling of incorrectly formatted range headers
(correct behaviour is to ignore the header and return the full
file)
- return appropriate error for ranges outside the file
Multiple ranges are parsed, but only the first range is returned.
Returning multiple ranges requires using the multipart/byterange
content type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 10117 bytes
Desc: A darcs patch for your repository!
Url : http://allmydata.org/pipermail/tahoe-dev/attachments/20100309/c27b6e65/attachment-0001.bin
More information about the tahoe-dev
mailing list