Add test scenario chunked-transfer-encoding
[privoxy.git] / tests / cts / chunked-transfer-encoding / data / test33
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 2\r
18 A
19 \r
20 3\r
21 BB
22 \r
23 4\r
24 CCC
25 \r
26 5\r
27 DDDD
28 \r
29 FF\r
30 %repeat[254 x F]%
31 \r
32 0\r
33 \r
34 </data>
35 <servercmd>
36 writesize: 200
37 writedelay: 20
38 </servercmd>
39 </reply>
40
41
42 <client>
43 <server>
44 http
45 </server>
46 <name>
47 Chunked transfer encoding - Multiple small chunks received with the server headers, other chunks received separately.
48 </name>
49 <features>
50 proxy
51 </features>
52 <command>
53 --raw http://%HOSTIP:%HTTPPORT/no-filter/%TESTNUMBER
54 </command>
55 </client>
56
57 <verify>
58 <protocol>
59 GET /no-filter/%TESTNUMBER HTTP/1.1\r
60 Host: %HOSTIP:%HTTPPORT\r
61 User-Agent: curl/%VERSION\r
62 Accept: */*\r
63 \r
64 </protocol>
65 </verify>
66 </testcase>