HTTP
HTTP/0.9
#
# Server-side
HTTP/1.1 200 OK
Content-Length: 5
Data
Data
Data
Data
#
# Client-side
http
HTTP/1.1 response followed by an HTTP/0.9 response over the same connection
http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002
#
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER0002 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