<testcase>
<info>
<keywords>
HTTP
HTTP GET
filter crude-parental
</keywords>
</info>

<reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 22 Jul 2010 11:22:33 GMT
Connection: close
Content-Type: text/html
X-Control: swsclose

# This is a fake "porn" page that triggers pcrs command 4 of the crude-parental filter:

Get fucking DVDs of naked ladies here!
</data>
</reply>

<proxy-reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 22 Jul 2010 11:22:33 GMT
Connection: close
Content-Type: text/html
X-Control: swsclose
Content-Length: 116

This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental content filter based on link text.
</data>
</proxy-reply>

<client>
<server>
http
</server>
<name>
+filter{crude-parental} with "offensive" "link text" C
</name>
<features>
proxy
</features>
<command>
http://%HOSTIP:%HTTPPORT/crude-parental/link-text-c/%TESTNUMBER
</command>
</client>

<verify>
<protocol>
GET /crude-parental/link-text-c/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Connection: close

</protocol>
</verify>
</testcase>
