HTTP
HTTP GET
# Server-side
HTTP/1.1 301 OK swsbounce
Location: /189
Content-Length: 3
OK
HTTP/1.1 200 OK
Connection: close
Content-Length: 15
Actual content
HTTP/1.1 301 OK swsbounce
Location: /189
Content-Length: 3
HTTP/1.1 200 OK
Connection: close
Content-Length: 15
# Client-side
http
HTTP GET with resume and redirect (to a page that doesn't resume)
http://%HOSTIP:%HTTPPORT/189 -C 50 -L
# Verify data after the test has been "shot"
GET /189 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Range: bytes=50-
User-Agent: curl/%VERSION
Accept: */*
GET /189 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Range: bytes=50-
User-Agent: curl/%VERSION
Accept: */*
# 33 is CURLE_RANGE_ERROR
33