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 / test16
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 2\r
20 %hex[%00]hex%
21 \r
22 0\r
23 \r
24 </data>
25 </reply>
26
27 <proxy-reply>
28 <data>
29 HTTP/1.1 200 Connection established\r
30 \r
31 HTTP/1.1 200 OK\r
32 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
33 Connection: close\r
34 Content-Type: text/html\r
35 X-Control: swsclose\r
36 \r
37 %hex[%00]hex%
38 </data>
39 </proxy-reply>
40
41 <client>
42 <server>
43 https
44 </server>
45 <name>
46 Chunked transfer encoding - Single chunk with binary zeroes that is valid.
47 </name>
48 <features>
49 proxy
50 </features>
51 <command>
52 --insecure https://%HOSTIP:%HTTPSPORT/chunked-transfer-encoding/%TESTNUMBER
53 </command>
54 </client>
55
56 <verify>
57 <protocol>
58 GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1\r
59 Host: %HOSTIP:%HTTPSPORT\r
60 User-Agent: curl/%VERSION\r
61 Accept: */*\r
62 \r
63 </protocol>
64 <errorcode>
65 0
66 </errorcode>
67 </verify>
68 </testcase>