Add test scenario gif-deanimation
[privoxy.git] / tests / cts / gif-deanimation / data / test6
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 gif deanimation
7 </keywords>
8 </info>
9
10 <reply>
11 <data nonewline="yes">
12 HTTP/1.1 200 OK\r
13 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
14 Connection: close\r
15 Content-Type: image/gif\r
16 X-Control: swsclose\r
17 Content-Length: 0\r
18 \r
19 </data>
20 </reply>
21
22 <proxy-reply>
23 <data>
24 HTTP/1.1 502 Server or forwarder response invalid\r
25 Content-Type: text/plain\r
26 Connection: close\r
27 \r
28 Bad response. The server or forwarder response doesn't look like HTTP.
29 </data>
30 </proxy-reply>
31
32 <client>
33 <server>
34 http
35 </server>
36 <name>
37 Content-Length 0 and no body sent.
38 </name>
39 <features>
40 proxy
41 </features>
42 <command>
43 http://%HOSTIP:%HTTPPORT/deanimate-gif/%TESTNUMBER
44 </command>
45 </client>
46
47 <verify>
48 <protocol>
49 GET /deanimate-gif/%TESTNUMBER HTTP/1.1\r
50 Host: %HOSTIP:%HTTPPORT\r
51 User-Agent: curl/%VERSION\r
52 Accept: */*\r
53 \r
54 </protocol>
55 <errorcode>
56 0
57 </errorcode>
58 </verify>
59 </testcase>