HTTP
HTTP GET
Resume
FAILURE
# Server-side
HTTP/1.0 200 Mooo
Date: Mon, 13 Nov 2000 13:41:09 GMT
Server: myown/1.0
Connection: close
todelooooo lalalala yada yada, we know nothing about ranges ;-)
# Client-side
http
HTTP resume request without server supporting it
http://%HOSTIP:%HTTPPORT/want/38 -C - -i -o log/fewl.txt
This text is here to simulate a partly downloaded file to resume
download on.
# Verify data after the test has been "shot"
33
^User-Agent:.*
GET /want/38 HTTP/1.1
Range: bytes=78-
Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache
Accept: */*
# the download target file must remain untouched
This text is here to simulate a partly downloaded file to resume
download on.