HTTP
HTTP GET
chunked Transfer-Encoding
#
# Server-side
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Accept-Ranges: bytes
Content-Length: 6
Connection: close
-foo-
#
# Client-side
http
HTTP POST zero length, chunked-encoded
-d "" --header "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/1333
#
# Verify data after the test has been "shot"
^User-Agent:.*
POST /1333 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded
0