HTTP
HTTP GET
# Server-side
HTTP/1.1 200 OK
Server: thebest/1.0
Content-Type: text/plain
Content-Length: 6
first
HTTP/1.1 200 OK
Server: thebest/1.0
Content-Type: text/plain
Content-Length: 7
second
# Client-side
http
HTTP --dump-header - with two URLs
http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER0001 --dump-header -
# Verify data after the test has been "shot"
GET /want/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
GET /want/%TESTNUMBER0001 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
HTTP/1.1 200 OK%CR
HTTP/1.1 200 OK%CR
Server: thebest/1.0%CR
Server: thebest/1.0%CR
Content-Type: text/plain%CR
Content-Type: text/plain%CR
Content-Length: 6%CR
Content-Length: 6%CR
%CR
%CR
first
HTTP/1.1 200 OK%CR
HTTP/1.1 200 OK%CR
Server: thebest/1.0%CR
Server: thebest/1.0%CR
Content-Type: text/plain%CR
Content-Type: text/plain%CR
Content-Length: 7%CR
Content-Length: 7%CR
%CR
%CR
second