Add test scenario gif-deanimation
[privoxy.git] / tests / cts / gif-deanimation / data / test6
diff --git a/tests/cts/gif-deanimation/data/test6 b/tests/cts/gif-deanimation/data/test6
new file mode 100644 (file)
index 0000000..4213929
--- /dev/null
@@ -0,0 +1,59 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP GET
+gif deanimation
+</keywords>
+</info>
+
+<reply>
+<data nonewline="yes">
+HTTP/1.1 200 OK\r
+Date: Thu, 22 Jul 2010 11:22:33 GMT\r
+Connection: close\r
+Content-Type: image/gif\r
+X-Control: swsclose\r
+Content-Length: 0\r
+\r
+</data>
+</reply>
+
+<proxy-reply>
+<data>
+HTTP/1.1 502 Server or forwarder response invalid\r
+Content-Type: text/plain\r
+Connection: close\r
+\r
+Bad response. The server or forwarder response doesn't look like HTTP.
+</data>
+</proxy-reply>
+
+<client>
+<server>
+http
+</server>
+<name>
+Content-Length 0 and no body sent.
+</name>
+<features>
+proxy
+</features>
+<command>
+http://%HOSTIP:%HTTPPORT/deanimate-gif/%TESTNUMBER
+</command>
+</client>
+
+<verify>
+<protocol>
+GET /deanimate-gif/%TESTNUMBER HTTP/1.1\r
+Host: %HOSTIP:%HTTPPORT\r
+User-Agent: curl/%VERSION\r
+Accept: */*\r
+\r
+</protocol>
+<errorcode>
+0
+</errorcode>
+</verify>
+</testcase>