HTTP
HTTP GET
#
# Server-side
HTTP/1.1 200 OK swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Content-Length:
-6
Content-Type: text/html
Funny-head: yesyes
moooooooooooo
HTTP/1.1 200 OK swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
#
# Client-side
http
HTTP response with control code then negative Content-Length
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
#
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
# built-in curl returns weird_server_reply
8