Add test scenario chunked-transfer-encoding
[privoxy.git] / tests / cts / chunked-transfer-encoding / data / test30
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 chunked transfer encoding
7 </keywords>
8 </info>
9
10 <reply>
11 <data>
12 HTTP/1.1 200 OK\r
13 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
14 Content-Type: text/html\r
15 Transfer-Encoding: chunked\r
16 \r
17 6\r
18 AAAAA
19 \r
20 A\r
21 %repeat[9 x B]%
22 \r
23 FF\r
24 %repeat[254 x C]%
25 \r
26 0\r
27 \r
28 </data>
29 <servercmd>
30 writesize: 20
31 writedelay: 50
32 </servercmd>
33 </reply>
34
35
36 <client>
37 <server>
38 http
39 </server>
40 <name>
41 Chunked transfer encoding - Multiple small chunks
42 </name>
43 <features>
44 proxy
45 </features>
46 <command>
47 --raw http://%HOSTIP:%HTTPPORT/no-filter/%TESTNUMBER
48 </command>
49 </client>
50
51 <verify>
52 <protocol>
53 GET /no-filter/%TESTNUMBER HTTP/1.1\r
54 Host: %HOSTIP:%HTTPPORT\r
55 User-Agent: curl/%VERSION\r
56 Accept: */*\r
57 \r
58 </protocol>
59 </verify>
60 </testcase>