HTTP
HTTP GET
chunked Transfer-Encoding
# Server-side
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 123456
Transfer-Encoding: chunked
Content-Type: text/html
Funny-head: yesyes
10%CR
chunked data fun%CR
0%CR
%CR
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 123456
Transfer-Encoding: chunked
Content-Type: text/html
Funny-head: yesyes
chunked data fun
# Client-side
http
HTTP/1.1 with chunked AND Content-Length headers
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: */*