HTTP
HTTP GET
#
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
Content-Disposition: filename=name1374; charset=funny; option=strange
12345
#
# Client-side
http
HTTP GET -o fname -i and Content-Disposition, -D file
http://%HOSTIP:%HTTPPORT/1374 -i -o log/outfile1374 -D log/heads1374
perl %SRCDIR/libtest/notexists.pl log/1374 log/name1374
#
# Verify data after the test has been "shot"
^User-Agent:.*
GET /1374 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
Content-Disposition: filename=name1374; charset=funny; option=strange
12345
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Content-Type: text/html
Content-Disposition: filename=name1374; charset=funny; option=strange