HTTP HTTP POST CURLOPT_READFUNCTION # Server-side HTTP/1.1 200 OK Content-Length: 6 Content-Type: text/html -foo- # Client-side http Chunked HTTP POST from callback with CURLOPT_POSTFIELDSIZE set lib%TESTNUMBER http://%HOSTIP:%HTTPPORT/boom # Verify data after the test has been "shot" POST /boom HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Transfer-Encoding: chunked Content-Type: application/x-www-form-urlencoded 3 one 3 two 5 three 4 four 0