# also verified by 1156 in libcurl API terms
HTTP
HTTP GET
Resume
# Server-side
HTTP/1.1 416 Invalid range
Connection: close
Content-Length: 0
Content-Range: */100
# The file data that exists at the start of the test must be included in
# the verification.
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
HTTP/1.1 416 Invalid range
Connection: close
Content-Length: 0
Content-Range: */100
# Client-side
http
http
-f and 416 with Content-Range: */size
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C - -f
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
012345678
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Range: bytes=100-
User-Agent: curl/%VERSION
Accept: */*