Add test scenario gif-deanimation
[privoxy.git] / tests / cts / gif-deanimation / data / test2
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 \r
18 </data>
19 </reply>
20
21 <proxy-reply>
22 <data>
23 HTTP/1.1 502 Server or forwarder response invalid\r
24 Content-Type: text/plain\r
25 Connection: close\r
26 \r
27 Bad response. The server or forwarder response doesn't look like HTTP.
28 </data>
29 </proxy-reply>
30
31 <client>
32 <server>
33 http
34 </server>
35 <name>
36 No actual content sent by the server.
37 </name>
38 <features>
39 proxy
40 </features>
41 <command>
42 http://%HOSTIP:%HTTPPORT/deanimate-gif/%TESTNUMBER
43 </command>
44 </client>
45
46 <verify>
47 <protocol>
48 GET /deanimate-gif/%TESTNUMBER HTTP/1.1\r
49 Host: %HOSTIP:%HTTPPORT\r
50 User-Agent: curl/%VERSION\r
51 Accept: */*\r
52 \r
53 </protocol>
54 <errorcode>
55 0
56 </errorcode>
57 </verify>
58 </testcase>