Add test scenario chunked-transfer-encoding-https
[privoxy.git] / tests / cts / chunked-transfer-encoding-https / data / test21
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 Connection: close\r
15 Content-Type: text/html\r
16 Transfer-Encoding: chunked\r
17 X-Control: swsclose\r
18 \r
19 12345\r
20 %repeat[74564 x A]%
21 \r
22 67891\r
23 %repeat[424080 x B]%
24 \r
25 31337\r
26 %repeat[201526 x C]%
27 \r
28 0\r
29 \r
30 </data>
31 </reply>
32
33 <proxy-reply>
34 <data>
35 HTTP/1.1 200 Connection established\r
36 \r
37 HTTP/1.1 200 OK\r
38 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
39 Connection: close\r
40 Content-Type: text/html\r
41 X-Control: swsclose\r
42 \r
43 %repeat[74564 x A]%
44 %repeat[424080 x B]%
45 %repeat[201526 x C]%
46 </data>
47 </proxy-reply>
48
49 <client>
50 <server>
51 https
52 </server>
53 <name>
54 Chunked transfer encoding - Multiple largish chunks.
55 </name>
56 <features>
57 proxy
58 </features>
59 <command>
60 --insecure https://%HOSTIP:%HTTPSPORT/chunked-transfer-encoding/%TESTNUMBER
61 </command>
62 </client>
63
64 <verify>
65 <protocol>
66 GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1\r
67 Host: %HOSTIP:%HTTPSPORT\r
68 User-Agent: curl/%VERSION\r
69 Accept: */*\r
70 \r
71 </protocol>
72 <errorcode>
73 0
74 </errorcode>
75 </verify>
76 </testcase>