<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
filter quicktime-kioskmode
</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 are some strings the quicktime-kioskmode filter should filter:

s/(<embed\s+[^>]*)kioskmode\s*=\s*(["']?)true\2/$1/ig

<embed blafasel kioskmode="true">

<embed blafasel kioskmode='true'>

<embed blafasel kioskmode='true' tralala>
</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: 190%CR
%CR
# Here are some strings the quicktime-kioskmode filter should filter:

s/(<embed\s+[^>]*)kioskmode\s*=\s*(["']?)true\2/$1/ig

<embed blafasel >

<embed blafasel >

<embed blafasel  tralala>
</data>
</proxy-reply>

<client>
<server>
http
</server>
<name>
+filter{quicktime-kioskmode}
</name>
<features>
proxy
</features>
<command>
http://%HOSTIP:%HTTPPORT/quicktime-kioskmode/%TESTNUMBER
</command>
</client>

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