HTTP HTTP GET chunked transfer encoding HTTP/1.1 200 OK Date: Thu, 22 Jul 2010 11:22:33 GMT Connection: keep-alive Content-Type: text/html Transfer-Encoding: chunked 12345 %repeat[74564 x A]% 67891 %repeat[424080 x B]% 31337 %repeat[201526 x C]% 1d4c0 %repeat[120000 x D]% 0 HTTP/1.1 200 OK Date: Thu, 22 Jul 2010 11:22:33 GMT Connection: close X-Connection: swsclose Content-Type: text/html Here's your unchunked data. writesize: 5000 http Chunked transfer encoding - Multiple largish chunks on connection that is kept alive. Filtering enabled but content too large to buffer. Last-chunk arrives when reaching the buffer limit. proxy --max-time 20 --raw http://%HOSTIP:%HTTPPORT/chunked-transfer-encoding/%TESTNUMBER0000 --raw http://%HOSTIP:%HTTPPORT/unchunked-content/%TESTNUMBER0001 GET /chunked-transfer-encoding/%TESTNUMBER0000 HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* GET /unchunked-content/%TESTNUMBER0001 HTTP/1.1 Host: %HOSTIP:%HTTPPORT User-Agent: curl/%VERSION Accept: */* 0