wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / chunked-transfer-encoding-https / data / test7
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 100\r
20 %repeat[255 x A]%
21 \r
22 1000\r
23 %repeat[4095 x B]%
24 \r
25 10000\r
26 %repeat[65535 x C]%
27 123\r
28 This chunk is too small
29 0\r
30 \r
31 </data>
32 </reply>
33
34 <proxy-reply>
35 <data>
36 HTTP/1.1 200 Connection established\r
37 \r
38 HTTP/1.1 200 OK\r
39 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
40 Connection: close\r
41 Content-Type: text/html\r
42 Transfer-Encoding: chunked\r
43 X-Control: swsclose\r
44 \r
45 100\r
46 %repeat[255 x A]%
47 \r
48 1000\r
49 %repeat[4095 x B]%
50 \r
51 10000\r
52 %repeat[65535 x C]%
53 123\r
54 This chunk is too small
55 0\r
56 \r
57 </data>
58 </proxy-reply>
59
60 <client>
61 <server>
62 https
63 </server>
64 <name>
65 Chunked transfer encoding - Multiple chunks, some of them large, last chunk too small.
66 </name>
67 <features>
68 proxy
69 </features>
70 <command>
71 --insecure --raw https://%HOSTIP:%HTTPSPORT/chunked-transfer-encoding/%TESTNUMBER
72 </command>
73 </client>
74
75 <verify>
76 <protocol>
77 GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1\r
78 Host: %HOSTIP:%HTTPSPORT\r
79 User-Agent: curl/%VERSION\r
80 Accept: */*\r
81 \r
82 </protocol>
83 <errorcode>
84 56
85 </errorcode>
86 </verify>
87
88 </testcase>