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
21 %repeat[50 x 0%0d%0a%0d%0a]%
28 Date: Thu, 22 Jul 2010 11:22:33 GMT
\r
30 X-Connection: swsclose
\r
31 Content-Type: text/html
\r
33 Here's your unchunked data.
35 # The write size is chosen so that Privoxy's first read
36 # gets data that ends in 0\r\n\r\n but does not actually
37 # contain the last chunk.
49 Chunked transfer encoding - Chunk that contains lots of potential "last-chunks" as data. Filtering disabled.
54 # Set a custom User-Agent so the request size does
55 # not depend on whether or not curl is a debug build.
57 --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
63 GET /no-filter/chunked-content/%TESTNUMBER0000 HTTP/1.1
\r
64 Host: %HOSTIP:%HTTPPORT
\r
65 User-Agent: Blafasel/1 beta
\r
68 GET /no-filter/unchunked-content/%TESTNUMBER0001 HTTP/1.1
\r
69 Host: %HOSTIP:%HTTPPORT
\r
70 User-Agent: Blafasel/1 beta
\r