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 Connection established HTTP/1.1 200 OK Date: Thu, 22 Jul 2010 11:22:33 GMT Connection: close Content-Type: text/html X-Control: swsclose AAAAA %repeat[255 x B]% %repeat[4095 x C]% %repeat[65535 x D]% https Chunked transfer encoding - Multiple chunks with garbage after chunk-sizes deliverd through https. proxy --insecure --raw https://%HOSTIP:%HTTPSPORT/chunked-transfer-encoding/%TESTNUMBER GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPSPORT User-Agent: curl/%VERSION Accept: */*