Add test scenario chunked-transfer-encoding
[privoxy.git] / tests / cts / chunked-transfer-encoding / data / test17
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 </keywords>
7 </info>
8
9 <reply>
10 <data>
11 HTTP/1.1 200 OK\r
12 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
13 Connection: close\r
14 Content-Type: text/html\r
15 X-Control: swsclose\r
16 \r
17 %hex[%FF%00%01]hex%
18 </data>
19 </reply>
20
21 <proxy-reply>
22 <data>
23 HTTP/1.1 200 OK\r
24 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
25 Connection: close\r
26 Content-Type: text/html\r
27 X-Control: swsclose\r
28 \r
29 %hex[%FF%00%01]hex%
30 </data>
31 </proxy-reply>
32
33 <client>
34 <server>
35 http
36 </server>
37 <name>
38 Binary data test - Requires runtests.pl patch. XXX: Not actually a chunked test.
39 </name>
40 <features>
41 proxy
42 </features>
43 <command>
44 http://%HOSTIP:%HTTPPORT/chunked-transfer-encoding/%TESTNUMBER
45 </command>
46 </client>
47
48 <verify>
49 <protocol>
50 GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1\r
51 Host: %HOSTIP:%HTTPPORT\r
52 User-Agent: curl/%VERSION\r
53 Accept: */*\r
54 \r
55 </protocol>
56 <errorcode>
57 0
58 </errorcode>
59 </verify>
60 </testcase>