Add test scenario forward-to-socks-proxy
[privoxy.git] / tests / cts / forward-to-socks-proxy / data / test5
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 # Skip for now as the Socks server from curl's test suite does
7 # not seem to deal properly deal with optimistically sent data
8 skip
9 </keywords>
10 </info>
11
12 <reply>
13 <data>
14 HTTP/1.1 200 OK
15 Date: Thu, 22 Jul 2010 11:22:33 GMT
16 Connection: close
17 Content-Type: text/html
18 X-Control: swsclose
19
20 Blafasel
21 </data>
22 </reply>
23
24 <proxy-reply>
25 <data>
26 HTTP/1.1 200 OK
27 Date: Thu, 22 Jul 2010 11:22:33 GMT
28 Connection: close
29 Content-Type: text/html
30 X-Control: swsclose
31
32 Blafasel
33 </data>
34 </proxy-reply>
35
36
37 <client>
38 <server>
39 http
40 socks4
41 </server>
42 <name>
43 Request forwarded through a SOCKS5t proxy. Destination host specified by IPv4 address.
44 </name>
45 <features>
46 proxy
47 </features>
48 <command>
49 http://%HOSTIP:%HTTPPORT/socks5t/%TESTNUMBER
50 </command>
51 </client>
52
53 <verify>
54 <protocol>
55 GET /socks5t/%TESTNUMBER HTTP/1.1\r
56 Host: %HOSTIP:%HTTPPORT\r
57 User-Agent: curl/%VERSION\r
58 Accept: */*\r
59 \r
60 </protocol>
61 </verify>
62 </testcase>