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 / test15
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 100\r
23 %repeat[255 x B]%
24 \r
25 100\r
26 %repeat[255 x C]%
27 \r
28 100\r
29 %repeat[255 x %hex[%00]hex%]%
30 \r
31 0\r
32 \r
33 </data>
34 </reply>
35
36 <proxy-reply>
37 <data>
38 HTTP/1.1 200 Connection established\r
39 \r
40 HTTP/1.1 200 OK\r
41 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
42 Connection: close\r
43 Content-Type: text/html\r
44 X-Control: swsclose\r
45 \r
46 %repeat[255 x A]%
47 %repeat[255 x B]%
48 %repeat[255 x C]%
49 %repeat[255 x %hex[%00]hex%]%
50 </data>
51 </proxy-reply>
52
53 <client>
54 <server>
55 https
56 </server>
57 <name>
58 Chunked transfer encoding - Multiple chunks, chunk at the end contains binary zeroes and is valid.
59 </name>
60 <features>
61 proxy
62 </features>
63 <command>
64 --insecure --raw https://%HOSTIP:%HTTPSPORT/chunked-transfer-encoding/%TESTNUMBER
65 </command>
66 </client>
67
68 <verify>
69 <protocol>
70 GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1\r
71 Host: %HOSTIP:%HTTPSPORT\r
72 User-Agent: curl/%VERSION\r
73 Accept: */*\r
74 \r
75 </protocol>
76 <errorcode>
77 0
78 </errorcode>
79 </verify>
80 </testcase>