Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test94
blob6660302a1e086b1ef3bdf81c89000fb6e27f3aaa
1 <testcase>
2 <info>
3 <keywords>
4 HTTPS
5 HTTP GET
6 HTTP CONNECT
7 HTTP proxy
8 FAILURE
9 </keywords>
10 </info>
12 # Server-side
13 <reply>
14 <data nocheck="1">
15 HTTP/1.1 407 Needs proxy authentication
16 Server: test-server/fake swsclose yesyes
17 Proxy-Authenticate: Basic "oh please"
18 Connection: close
20 bing
21 </data>
22 </reply>
25 # Client-side
26 <client>
27 <server>
28 http
29 </server>
30 <features>
31 SSL
32 </features>
33  <name>
34 HTTPS GET with failed proxy auth
35  </name>
36  <command>
37 https://test.anything.really.com:94 -x %HOSTIP:%HTTPPORT
38 </command>
39 </client>
42 # Verify data after the test has been "shot"
43 <verify>
44 <errorcode>
46 </errorcode>
47 <strip>
48 ^User-Agent:.*
49 </strip>
50 <protocol>
51 CONNECT test.anything.really.com:94 HTTP/1.0\r
52 User-Agent: curl/7.11.0-CVS (i686-pc-linux-gnu) libcurl/7.11.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4\r
53 Host: test.anything.really.com:94\r
54 Proxy-Connection: Keep-Alive\r
56 </protocol>
57 </verify>
58 </testcase>