# # Server-side HTTP/1.0 200 OK Server: test-server/fake Content-Type: text/html Content-Length: 0 this is data even though Content-Length is set to zero HTTP/1.0 200 OK Server: test-server/fake Content-Type: text/html Content-Length: 0 # # Client-side http HTTP POST with auth and contents but with content-length set to 0 -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HTTPPORT/3 # # Verify data after the test has been "shot" ^User-Agent:.* POST /3 HTTP/1.1 Authorization: Basic ZmFrZTotdXNlcg== Host: 127.0.0.1:%HTTPPORT Pragma: no-cache Accept: */* Content-Length: 37 Content-Type: application/x-www-form-urlencoded fooo=mooo&pooo=clue&doo=%20%20%20++++