Add test scenario chunked-transfer-encoding
[privoxy.git] / tests / cts / chunked-transfer-encoding / data / test32
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 %hex[1%0d%0a%0a%0d%0a0%0d%0a%0d%0a]hex%
18 </data>
19 <servercmd>
20 writesize: 1000
21 </servercmd>
22 </reply>
23
24
25 <client>
26 <server>
27 http
28 </server>
29 <name>
30 Chunked transfer encoding - Multiple small chunks received with the server headers.
31 </name>
32 <features>
33 proxy
34 </features>
35 <command>
36 --raw http://%HOSTIP:%HTTPPORT/no-filter/%TESTNUMBER
37 </command>
38 </client>
39
40 <verify>
41 <protocol>
42 GET /no-filter/%TESTNUMBER HTTP/1.1\r
43 Host: %HOSTIP:%HTTPPORT\r
44 User-Agent: curl/%VERSION\r
45 Accept: */*\r
46 \r
47 </protocol>
48 </verify>
49 </testcase>