wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / header-filters / data / test4
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 client-header-filter hide-tor-exit-notation
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 X-Control: swsclose\r
17 Content-Length: 0\r
18 \r
19 </data>
20 </reply>
21
22 <proxy-reply>
23 <data>
24 HTTP/1.1 200 OK\r
25 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
26 Connection: close\r
27 Content-Type: text/html\r
28 X-Control: swsclose\r
29 Content-Length: 0\r
30 \r
31 </data>
32 </proxy-reply>
33
34 <client>
35 <server>
36 http
37 </server>
38 <name>
39 +client-header-filter{hide-tor-exit-notation} with http:// Referer:
40 </name>
41 <features>
42 proxy
43 </features>
44 <command>
45 --head -H "Referer: http://www.example.org.blafasel.exit/" -H "Host: www.example.org.blafasel.exit" http://%HOSTIP:%HTTPPORT/hide-tor-exit-notation/%TESTNUMBER
46 </command>
47 </client>
48
49 <verify>
50 <protocol>
51 HEAD /hide-tor-exit-notation/%TESTNUMBER HTTP/1.1\r
52 Host: www.example.org\r
53 User-Agent: curl/%VERSION\r
54 Accept: */*\r
55 Referer: http://www.example.org/\r
56 Connection: close\r
57 \r
58 </protocol>
59 </verify>
60 </testcase>