Tuesday, October 02, 2012

HTTP Range Request

http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGET.html
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35


Examples of byte-ranges-specifier values (assuming an entity-body of length 10000):
- The first 500 bytes (byte offsets 0-499, inclusive): bytes=0-
499
- The second 500 bytes (byte offsets 500-999, inclusive):
bytes=500-999
- The final 500 bytes (byte offsets 9500-9999, inclusive):
bytes=-500
- Or bytes=9500-
- The first and last bytes only (bytes 0 and 9999): bytes=0-0,-1
- Several legal but not canonical specifications of the second 500
bytes (byte offsets 500-999, inclusive):
bytes=500-600,601-999
bytes=500-700,601-999

No comments:

Related Posts Plugin for WordPress, Blogger...