wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / client-header-order-https / data / test333
1 <testcase>
2 <info>
3 <keywords>
4 HTTPS
5 HTTP GET
6 </keywords>
7 </info>
8
9 <reply>
10 <data>
11 HTTP/1.1 200 OK
12 Date: Thu, 22 Jul 2010 11:22:33 GMT
13 Content-Length: 9
14
15 Blafasel
16 </data>
17 </reply>
18
19 <proxy-reply>
20 <data>
21 HTTP/1.1 200 Connection established
22
23 HTTP/1.1 200 OK
24 Date: Thu, 22 Jul 2010 11:22:33 GMT
25 Content-Length: 9
26 Connection: close
27
28 Blafasel
29 </data>
30 </proxy-reply>
31
32
33 <client>
34 <server>
35 https
36 </server>
37 <name>
38 HTTP client header order through https 2
39 </name>
40 <command>
41 --insecure -H "Origin: https://www.privoxy.org/" -H "Cache-Control: max-age=315576000" -H "If-Modified-Since: Thu, 07 Jan 2021 22:05:31 GMT" -H "Upgrade-Insecure-Requests: 1" -H "DNT: 1" -H "Pragma: no-cache" -H "Cookie: yolo=123" -H "Referer: https://www.example.org/" -H "Accept-Encoding: gzip" -H "Proxy-Connection: keep-alive" -H "Accept: */*" -H "Accept-Language: en-CA" -H "Host: %HOSTIP:%HTTPSPORT" --user-agent "Client with unsorted headers" https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
42 </command>
43 </client>
44
45 <verify>
46 <protocol>
47 GET /%TESTNUMBER HTTP/1.1\r
48 Host: %HOSTIP:%HTTPSPORT\r
49 User-Agent: Client with unsorted headers\r
50 Accept: */*\r
51 Accept-Language: en-CA\r
52 Accept-Encoding: gzip\r
53 Referer: https://www.example.org/\r
54 Cookie: yolo=123\r
55 DNT: 1\r
56 Pragma: no-cache\r
57 Upgrade-Insecure-Requests: 1\r
58 If-Modified-Since: Thu, 07 Jan 2021 22:05:31 GMT\r
59 Cache-Control: max-age=315576000\r
60 Origin: https://www.privoxy.org/\r
61 \r
62 </protocol>
63 </verify>
64 </testcase>