HTTP
HTTP GET
Content-Range
# Server-side
HTTP/1.1 206 Partial Content
Date: Thu, 31 Jul 2008 13:41:09 GMT
Accept-Ranges: bytes
Content-Length: 101
Content-Range: bytes 100-200/201
Connection: close
Content-Type: text/html
..partial data returned from the
server as a result of setting an explicit byte range
in the request
# Client-side
http
HTTP range relative to end of file
http://%HOSTIP:%HTTPPORT/want/1058 -r -101
# Verify data after the test has been "shot"
GET /want/1058 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Range: bytes=-101
User-Agent: curl/%VERSION
Accept: */*