Add test scenario gif-deanimation
[privoxy.git] / tests / cts / gif-deanimation / data / test11
diff --git a/tests/cts/gif-deanimation/data/test11 b/tests/cts/gif-deanimation/data/test11
new file mode 100644 (file)
index 0000000..5e5ec57
--- /dev/null
@@ -0,0 +1,62 @@
+<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
+\r
+%hex[%47%49%46%38%39%61%14%00%14%00%f0%00%00%fe%00%00%00%00%00%21%f9%04%00%c8%00%00%00%21%fe%24%43%72%65%61%74%65%64%20%62%79%20%46%61%62%69%61%6e%20%4b%65%69%6c%20%77%69%74%68%20%54%68%65%20%47%49%4d%50%00%21%ff%0b%4e%45%54%53%43%41%50%45%32%2e%30%03%01%00%00%00%21%ff%0b%49%43%43%52%47%42%47%31%30%31%32%ff%00%00%02%a0%6c%63%6d%73%04%30%00%00%6d%6e%74%72%52%47%42%20%58%59%5a%20%07%e5%00%02%00%09%00%10%00%2f%00%33%61%63%73%70%41%50%50%4c%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%f6%d6%00%01%00%00%00%00%d3%2d%6c%63%6d%73%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%0d%64%65%73%63%00%00%01%20%00%00%00%40%63%70%72%74%00%00%01%60%00%00%00%36%77%74%70%74%00%00%01%98%00%00%00%14%63%68%61%64%00%00%01%ac%00%00%00%2c%72%58%59%5a%00%00%01%d8%00%00%00%14%62%58%59%5a%00%00%01%ec%00%00%00%14%67%58%59%5a%00%00%02%00%00%00%00%14%72%54%52%43%00%00%02%14%00%00%00%20%67%54%52%43%00%00%02%14%00%00%00%20%62%54%52%43%00%00%02%14%00%00%00%20%63%68%72%ff%6d%00%00%02%34%00%00%00%24%64%6d%6e%64%00%00%02%58%00%00%00%24%64%6d%64%64%00%00%02%7c%00%00%00%24%6d%6c%75%63%00%00%00%00%00%00%00%01%00%00%00%0c%65%6e%55%53%00%00%00%24%00%00%00%1c%00%47%00%49%00%4d%00%50%00%20%00%62%00%75%00%69%00%6c%00%74%00%2d%00%69%00%6e%00%20%00%73%00%52%00%47%00%42%6d%6c%75%63%00%00%00%00%00%00%00%01%00%00%00%0c%65%6e%55%53%00%00%00%1a%00%00%00%1c%00%50%00%75%00%62%00%6c%00%69%00%63%00%20%00%44%00%6f%00%6d%00%61%00%69%00%6e%00%00%58%59%5a%20%00%00%00%00%00%00%f6%d6%00%01%00%00%00%00%d3%2d%73%66%33%32%00%00%00%00%00%01%0c%42%00%00%05%de%ff%ff%f3%25%00%00%07%93%00%00%fd%90%ff%ff%fb%a1%ff%ff%fd%a2%00%00%03%dc%00%00%c0%6e%58%59%5a%20%00%00%00%00%00%00%6f%a0%00%00%38%f5%00%00%03%90%58%59%5a%20%00%00%00%00%00%00%24%9f%00%00%0f%84%00%00%a2%b6%c4%58%59%5a%20%00%00%00%00%00%00%62%97%00%00%b7%87%00%00%18%d9%70%61%72%61%00%00%00%00%00%03%00%00%00%02%66%66%00%00%f2%a7%00%00%0d%59%00%00%13%d0%00%00%0a%5b%63%68%72%6d%00%00%00%00%00%03%00%00%00%00%a3%d7%00%00%54%7c%00%00%4c%cd%00%00%99%9a%00%00%26%67%00%00%0f%5c%6d%6c%75%63%00%00%00%00%00%00%00%01%00%00%00%0c%65%6e%55%53%00%00%00%08%00%00%00%1c%00%47%00%49%00%4d%00%50%6d%6c%75%63%00%00%00%00%00%00%00%01%00%00%00%0c%65%6e%55%53%00%00%00%08%00%00%00%1c%00%73%00%52%00%47%00%42%00%2c%00%00%00%00%14%00%14%00%00%02%11%84%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%21%f9%04%00%c8%00%00%00%21%fe%24%43%72%65%61%74%65%64%20%62%79%20%46%61%62%69%61%6e%20%4b%65%69%6c%20%77%69%74%68%20%54%68%65%20%47%49%4d%50%00%21%ff%0b%49%43%43%52%47%42%47%31%30%31%32%ff%00%00%02%a0%6c%63%6d%73%04%30%00%00%6d%6e%74%72%52%47%42%20%58%59%5a%20%07%e5%00%02%00%09%00%10%00%2f%00%33%61%63%73%70%41%50%50%4c%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%f6%d6%00%01%00%00%00%00%d3%2d%6c%63%6d%73%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%0d%64%65%73%63%00%00%01%20%00%00%00%40%63%70%72%74%00%00%01%60%00%00%00%36%77%74%70%74%00%00%01%98%00%00%00%14%63%68%61%64%00%00%01%ac%00%00%00%2c%72%58%59%5a%00%00%01%d8%00%00%00%14%62%58%59%5a%00%00%01%ec%00%00%00%14%67%58%59%5a%00%00%02%00%00%00%00%14%72%54%52%43%00%00%02%14%00%00%00%20%67%54%52%43%00%00%02%14%00%00%00%20%62%54%52%43%00%00%02%14%00%00%00%20%63%68%72%ff%6d%00%00%02%34%00%00%00%24%64%6d%6e%64%00%00%02%58%00%00%00%24%64%6d%64%64%00%00%02%7c%00%00%00%24%6d%6c%75%63%00%00%00%00%00%00%00%01%00%00%00%0c%65%6e%55%53%00%00%00%24%00%00%00%1c%00%47%00%49%00%4d%00%50%00%20%00%62%00%75%00%69%00%6c%00%74%00%2d%00%69%00%6e%00%20%00%73%00%52%00%47%00%42%6d%6c%75%63%00%00%00%00%00%00%00%01%00%00%00%0c%65%6e%55%53%00%00%00%1a%00%00%00%1c%00%50%00%75%00%62%00%6c%00%69%00%63%00%20%00%44%00%6f%00%6d%00%61%00%69%00%6e%00%00%58%59%5a%20%00%00%00%00%00%00%f6%d6%00%01%00%00%00%00%d3%2d%73%66%33%32%00%00%00%00%00%01%0c%42%00%00%05%de%ff%ff%f3%25%00%00%07%93%00%00%fd%90%ff%ff%fb%a1%ff%ff%fd%a2%00%00%03%dc%00%00%c0%6e%58%59%5a%20%00%00%00%00%00%00%6f%a0%00%00%38%f5%00%00%03%90%58%59%5a%20%00%00%00%00%00%00%24%9f%00%00%0f%84%00%00%a2%b6%c4%58%59%5a%20%00%00%00%00%00%00%62%97%00%00%b7%87%00%00%18%d9%70%61%72%61%00%00%00%00%00%03%00%00%00%02%66%66%00%00%f2%a7%00%00%0d%59%00%00%13%d0%00%00%0a%5b%63%68%72%6d%00%00%00%00%00%03%00%00%00%00%a3%d7%00%00%54%7c%00%00%4c%cd%00%00%99%9a%00%00%26%67%00%00%0f%5c%6d%6c%75%63%00%00%00%00%00%00%00%01%00%00%00%0c%65%6e%55%53%00%00%00%08%00%00%00%1c%00%47%00%49%00%4d%00%50%6d%6c%75%63%00%00%00%00%00%00%00%01%00%00%00%0c%65%6e%55%53%00%00%00%08%00%00%00%1c%00%73%00%52%00%47%00%42%00%2c%00%00%00%00%14%00%14%00%80%1e%42%ee%00%00%00%02%11%84%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%3b]hex%
+</data>
+</reply>
+
+<proxy-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: 58\r
+\r
+%hex[%47%49%46%38%39%61%14%00%14%00%f0%00%00%fe%00%00%00%00%00%21%f9%04%00%c8%00%00%00%2c%00%00%00%00%14%00%14%00%00%02%11%84%8f%a9%cb%ed%0f%a3%9c%b4%da%8b%b3%de%bc%fb%af%15%00%3b]hex%
+</data>
+</proxy-reply>
+
+<client>
+<server>
+http
+</server>
+<name>
+Valid gif. Two frames. Lots of meta data. Using first frame.
+</name>
+<features>
+proxy
+</features>
+<command>
+http://%HOSTIP:%HTTPPORT/deanimate-gif/first-frame/%TESTNUMBER
+</command>
+</client>
+
+<verify>
+<protocol>
+GET /deanimate-gif/first-frame/%TESTNUMBER HTTP/1.1\r
+Host: %HOSTIP:%HTTPPORT\r
+User-Agent: curl/%VERSION\r
+Accept: */*\r
+\r
+</protocol>
+<errorcode>
+0
+</errorcode>
+</verify>
+</testcase>