wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / content-filters / data / test204
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 is a fake porn side the crude-parental filter should filter:
19 Suck her dick here!!!
20 </data>
21 </reply>
22
23 <proxy-reply>
24 <data>
25 HTTP/1.1 200 OK\r
26 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
27 Connection: close\r
28 Content-Type: text/html\r
29 X-Control: swsclose\r
30 Content-Length: 122\r
31 \r
32 This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental content filter based on the description.
33 </data>
34 </proxy-reply>
35
36 <client>
37 <server>
38 http
39 </server>
40 <name>
41 +filter{crude-parental} pcrs command 3 with porn description C
42 </name>
43 <features>
44 proxy
45 </features>
46 <command>
47 http://%HOSTIP:%HTTPPORT/crude-parental/porn-description-c/%TESTNUMBER
48 </command>
49 </client>
50
51 <verify>
52 <protocol>
53 GET /crude-parental/porn-description-c/%TESTNUMBER HTTP/1.1\r
54 Host: %HOSTIP:%HTTPPORT\r
55 User-Agent: curl/%VERSION\r
56 Accept: */*\r
57 Connection: close\r
58 \r
59 </protocol>
60 </verify>
61 </testcase>