Add test scenario forward-to-http-proxy
[privoxy.git] / tests / cts / forward-to-http-proxy / data / test1
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 HTTP proxy
7 </keywords>
8 </info>
9
10 <reply>
11 <data>
12 HTTP/1.1 200 OK
13 Date: Thu, 22 Jul 2010 11:22:33 GMT
14 Connection: close
15 Content-Type: text/html
16 X-Control: swsclose
17
18 Blafasel
19 </data>
20 </reply>
21
22 <proxy-reply>
23 <data>
24 HTTP/1.1 200 OK
25 Date: Thu, 22 Jul 2010 11:22:33 GMT
26 Connection: close
27 Content-Type: text/html
28 X-Control: swsclose
29
30 Blafasel
31 </data>
32 </proxy-reply>
33
34
35 <client>
36 <server>
37 http
38 </server>
39 <name>
40 Request forwarded through an HTTP proxy
41 </name>
42 <features>
43 proxy
44 </features>
45 <command>
46 http://www.example.org/%TESTNUMBER
47 </command>
48 </client>
49
50 <verify>
51 <protocol>
52 GET http://www.example.org/%TESTNUMBER HTTP/1.1\r
53 Host: www.example.org\r
54 User-Agent: curl/%VERSION\r
55 Accept: */*\r
56 \r
57 </protocol>
58 </verify>
59 </testcase>