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