1<testcase>
2<info>
3<keywords>
4Proxy
5Socks Proxy
6NO_PROXY
7noproxy
8</keywords>
9</info>
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK
14Date: Thu, 09 Nov 2010 14:49:00 GMT
15Server: test-server/fake
16Content-Length: 4
17Content-Type: text/html
18
19boo
20</data>
21</reply>
22
23# Client-side
24<client>
25<server>
26http
27</server>
28 <name>
29noproxy setting together with socks proxy
30 </name>
31
32<command>
33http://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>
43GET /ulion/1212 HTTP/1.1
44Authorization: Basic dXNlcjpzZWNyZXQ=
45Host: %HOSTIP:%HTTPPORT
46Accept: */*
47
48</protocol>
49</verify>
50</testcase>
51