HTTP
HTTP GET
-J
--show-headers
#
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Jisposition: inline; filename="name%TESTNUMBER"
Content-Type: text/html
12345
#
# Client-side
http
HTTP GET with -J + --show-headers but no Content-Disposition:
http://%HOSTIP:%HTTPPORT/junk%TESTNUMBER -J -O --show-headers --output-dir %LOGDIR
#
# Verify data after the test has been "shot"
GET /junk%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Jisposition: inline; filename="name%TESTNUMBER"
Content-Type: text/html
12345