Revert "Update to 7.44.0"
[platform/upstream/curl.git] / tests / data / test1101
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 HTTP Basic auth
7 NO_PROXY
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 OK\r
14 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
15 Server: test-server/fake\r
16 Content-Length: 4\r
17 Content-Type: text/html\r
18 \r
19 boo
20 </data>
21 </reply>
22
23 # Client-side
24 <client>
25 <server>
26 http
27 </server>
28  <name>
29 NO_PROXY test, with user name in URL
30  </name>
31
32 <setenv>
33 no_proxy=%HOSTIP
34 http_proxy=http://non-existing-host.haxx.se:3128/
35 </setenv>
36  <command>
37 http://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>
47 GET /gimme/1101 HTTP/1.1\r
48 Authorization: Basic dXNlcjpzZWNyZXQ=\r
49 Host: %HOSTIP:%HTTPPORT\r
50 Accept: */*\r
51 \r
52 </protocol>
53 </verify>
54 </testcase>