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
FE
%repeat[253 x A]%
XYZ
This chunk is preceded by an invalid chunk-size
%repeat[1000 x Padding]%
0
# We only send parts of the response and then wait longer
# than Privoxy's socket-timeout to make sure Privoxy always
# forwards the same data to curl.
writesize: 4000
writedelay: 4000
HTTP/1.1 200 OK
Date: Thu, 22 Jul 2010 11:22:33 GMT
Connection: keep-alive
Content-Type: text/html
Transfer-Encoding: chunked
FE
%repeat[253 x A]%
XYZ
This chunk is preceded by an invalid chunk-size
%repeat[507 x Padding]%Paddi
http
Chunked transfer encoding - Invalid chunk-size. Filtering disabled.
proxy
--raw http://%HOSTIP:%HTTPPORT/no-filter/chunked-content/%TESTNUMBER
GET /no-filter/chunked-content/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
56