HTTP
HTTP POST
Content-Length
chunked Transfer-Encoding
# Server-side
HTTP/1.1 200 OK
Date: Sun, 19 Jan 2014 18:50:58 GMT
Server: test-server/fake swsclose
Connection: close
# Client-side
http
lib%TESTNUMBER
HTTP POST with read callback and unknown data size
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
# Content-Length header is not present
# Transfer-Encoding header is added automatically
POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
1
d
1
u
1
m
1
m
1
y
0