1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP Basic auth
7NO_PROXY
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>
29NO_PROXY test, with user name in URL
30 </name>
31
32<setenv>
33no_proxy=%HOSTIP
34http_proxy=http://non-existing-host.haxx.se:3128/
35</setenv>
36 <command>
37http://user:secret@%HOSTIP:%HTTPPORT/gimme/1101
38</command>
39</client>
40
41# Verify data after the test has been "shot"
42<verify>
43<strip>
44^User-Agent:.*
45</strip>
46<protocol>
47GET /gimme/1101 HTTP/1.1
48Authorization: Basic dXNlcjpzZWNyZXQ=
49Host: %HOSTIP:%HTTPPORT
50Accept: */*
51
52</protocol>
53</verify>
54</testcase>
55