Add test scenario chunked-transfer-encoding-https
[privoxy.git] / tests / cts / chunked-transfer-encoding-https / data / test18
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[%00]hex%Blafasel
18 </data>
19 </reply>
20
21 <proxy-reply>
22 <data>
23 HTTP/1.1 200 Connection established\r
24 \r
25 HTTP/1.1 200 OK\r
26 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
27 Connection: close\r
28 Content-Type: text/html\r
29 X-Control: swsclose\r
30 \r
31 %hex[%00]hex%Blafasel
32 </data>
33 </proxy-reply>
34
35 <client>
36 <server>
37 https
38 </server>
39 <name>
40 Binary zero test. XXX: Not actually a chunked-transfer-encoding test.
41 </name>
42 <features>
43 proxy
44 </features>
45 <command>
46 --insecure https://%HOSTIP:%HTTPSPORT/chunked-transfer-encoding/%TESTNUMBER
47 </command>
48 </client>
49
50 <verify>
51 <protocol>
52 GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1\r
53 Host: %HOSTIP:%HTTPSPORT\r
54 User-Agent: curl/%VERSION\r
55 Accept: */*\r
56 \r
57 </protocol>
58 <errorcode>
59 0
60 </errorcode>
61 </verify>
62 </testcase>