wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / content-filters / data / test320
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 filter crude-parental
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 \r
18 # This regulation text triggers pcrs command 6 of the crude-parental filter:
19
20 We comply with section 2257 of whatever!
21 </data>
22 </reply>
23
24 <proxy-reply>
25 <data>
26 HTTP/1.1 200 OK\r
27 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
28 Connection: close\r
29 Content-Type: text/html\r
30 X-Control: swsclose\r
31 Content-Length: 128\r
32 \r
33 This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental content filter because of an regulations text.
34 </data>
35 </proxy-reply>
36
37 <client>
38 <server>
39 http
40 </server>
41 <name>
42 +filter{crude-parental} with suspicious regulation text A
43 </name>
44 <features>
45 proxy
46 </features>
47 <command>
48 http://%HOSTIP:%HTTPPORT/crude-parental/regulation-text-a/%TESTNUMBER
49 </command>
50 </client>
51
52 <verify>
53 <protocol>
54 GET /crude-parental/regulation-text-a/%TESTNUMBER HTTP/1.1\r
55 Host: %HOSTIP:%HTTPPORT\r
56 User-Agent: curl/%VERSION\r
57 Accept: */*\r
58 Connection: close\r
59 \r
60 </protocol>
61 </verify>
62 </testcase>