HTTP HTTP GET chunked transfer encoding HTTP/1.1 200 OK Date: Thu, 22 Jul 2010 11:22:33 GMT Connection: close Content-Type: text/html Transfer-Encoding: chunked X-Control: swsclose 6 Oh noes AAAAA 100 there is %repeat[255 x B]% 1000 bogus data %repeat[4095 x C]% 10000 here %repeat[65535 x D]% 0 HTTP/1.1 200 OK Date: Thu, 22 Jul 2010 11:22:33 GMT Connection: close Content-Type: text/html X-Control: swsclose Content-Length: 69894 AAAAA %repeat[255 x B]% %repeat[4095 x C]% %repeat[65535 x D]% http Chunked transfer encoding - Multiple chunks with garbage after chunk-sizes proxy --raw http://%HOSTIP:%HTTPPORT/chunked-transfer-encoding/%TESTNUMBER GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */*