HTTP HTTP GET Resume # Server-side # Some servers (e.g. Apache 1.2) respond this way to an invalid byte range HTTP/1.1 200 OK%CR Connection: close%CR Content-Length: 100%CR Content-Type: text/plain%CR %CR 012345678 012345678 012345678 012345678 012345678 012345678 012345678 012345678 012345678 012345678 # 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 200 OK%CR Connection: close%CR Content-Length: 100%CR Content-Type: text/plain%CR %CR # Client-side http HTTP GET resume at exactly the existing file size is fine http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 100 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: */*