6 chunked transfer encoding
7 # XXX: Test requires "writesize" support that hasn't been upstreamed yet.
15 Date: Thu, 22 Jul 2010 11:22:33 GMT
\r
16 Connection: keep-alive
\r
17 Content-Type: text/html
\r
18 Transfer-Encoding: chunked
\r
24 %repeat[50 x 0%0d%0a%0d%0a]%
31 Date: Thu, 22 Jul 2010 11:22:33 GMT
\r
33 X-Connection: swsclose
\r
34 Content-Type: text/html
\r
36 Here's your unchunked data.
38 # The write size is chosen so that Privoxy's second read
39 # gets data that ends in 0\r\n\r\n but does not actually
40 # contain the last chunk.
52 Chunked transfer encoding - Chunk that contains lots of potential "last-chunks" as data. Filtering disabled.
57 # Set a custom User-Agent so the request size does
58 # not depend on whether or not curl is a debug build.
60 --user-agent "Blafasel/1 beta" --raw http://%HOSTIP:%HTTPPORT/no-filter/chunked-content/%TESTNUMBER0000 --max-time 2 --raw http://%HOSTIP:%HTTPPORT/no-filter/unchunked-content/%TESTNUMBER0001
66 GET /no-filter/chunked-content/%TESTNUMBER0000 HTTP/1.1
\r
67 Host: %HOSTIP:%HTTPPORT
\r
68 User-Agent: Blafasel/1 beta
\r
71 GET /no-filter/unchunked-content/%TESTNUMBER0001 HTTP/1.1
\r
72 Host: %HOSTIP:%HTTPPORT
\r
73 User-Agent: Blafasel/1 beta
\r