<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
filter taz.de
</keywords>
</info>

<reply>
<data>
HTTP/1.1 200 OK%CR
Date: Thu, 22 Jul 2010 11:22:33 GMT%CR
Connection: close%CR
Content-Type: text/html%CR
X-Control: swsclose%CR
%CR
# Here's a string the taz.de filter should modify:

# pcrs command 1:

if ( marOtaz_de.getCookie('tzi_paywall_payed') === 'yesHide') return;
</data>
</reply>

<proxy-reply>
<data>
HTTP/1.1 200 OK%CR
Date: Thu, 22 Jul 2010 11:22:33 GMT%CR
Connection: close%CR
Content-Type: text/html%CR
X-Control: swsclose%CR
Content-Length: 89%CR
%CR
# Here's a string the taz.de filter should modify:

# pcrs command 1:

if (true) return;
</data>
</proxy-reply>

<client>
<server>
http
</server>
<name>
+filter{taz.de}
</name>
<features>
proxy
</features>
<command>
http://%HOSTIP:%HTTPPORT/taz.de/%TESTNUMBER
</command>
</client>

<verify>
<protocol>
GET /taz.de/%TESTNUMBER HTTP/1.1%CR
Host: %HOSTIP:%HTTPPORT%CR
User-Agent: curl/%VERSION%CR
Accept: */*%CR
Connection: close%CR
%CR
</protocol>
</verify>
</testcase>
