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