9d92a8dfb0b72400c166c6211078f649be7a967d
[platform/upstream/curl.git] / tests / data / test1212
1 <testcase>
2 <info>
3 <keywords>
4 Proxy
5 Socks Proxy
6 NO_PROXY
7 noproxy
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 OK
14 Date: Thu, 09 Nov 2010 14:49:00 GMT
15 Server: test-server/fake
16 Content-Length: 4
17 Content-Type: text/html
18
19 boo
20 </data>
21 </reply>
22
23 # Client-side
24 <client>
25 <server>
26 http
27 </server>
28  <name>
29 noproxy setting together with socks proxy
30  </name>
31
32 <command>
33 http://user:secret@%HOSTIP:%HTTPPORT/ulion/1212 --socks5 non-existing-host.haxx.se:1080 --noproxy %HOSTIP --max-time 5
34 </command>
35 </client>
36
37 # Verify data after the test has been "shot"
38 <verify>
39 <strip>
40 ^User-Agent:.*
41 </strip>
42 <protocol>
43 GET /ulion/1212 HTTP/1.1\r
44 Authorization: Basic dXNlcjpzZWNyZXQ=\r
45 Host: %HOSTIP:%HTTPPORT\r
46 Accept: */*\r
47 \r
48 </protocol>
49 </verify>
50 </testcase>