HTTP
HTTP GET
chunked transfer encoding
# XXX: Test requires "writesize" support that hasn't been upstreamed yet
skip
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]%
31337
%repeat[201526 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: 10000
writedelay: 5
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]%
31337
%repeat[201526 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.
http
Chunked transfer encoding - Multiple largish chunks on a connection that is kept alive. Filtering disabled.
proxy
--raw http://%HOSTIP:%HTTPPORT/no-filter/chunked-content/%TESTNUMBER0000 --max-time 2 --raw http://%HOSTIP:%HTTPPORT/no-filter/unchunked-content/%TESTNUMBER0001
GET /no-filter/chunked-content/%TESTNUMBER0000 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
GET /no-filter/unchunked-content/%TESTNUMBER0001 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
0