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 lib1514 HTTP POST with read callback and unknown data size http://%HOSTIP:%HTTPPORT/1514 # Verify data after the test has been "shot" # Content-Length header is not present # Transfer-Encoding header is added automatically POST /1514 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