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
%if hyper
%else
HTTP/1.1 200 OK swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
%endif
#
# Client-side
http
HTTP response with 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: */*
# Hyper curl returns unsupported protocol
# built-in curl returns weird_server_reply
%if hyper
1
%else
8
%endif