Debian Codegraph @

curl/tests/data/test94

raw
1 <info>
2 <keywords>
3 HTTPS
4 HTTP CONNECT
5 HTTP proxy
6 FAILURE
7 </keywords>
8 </info>
9 #
10 # Server-side
11 <reply>
12 <data nocheck=1>
13 HTTP/1.1 407 Needs proxy authentication
14 Server: test-server/fake swsclose yesyes
15 Proxy-Authenticate: Basic "oh please"
16 Connection: close
17
18 bing
19 </data>
20 </reply>
21
22 #
23 # Client-side
24 <client>
25 <server>
26 http
27 </server>
28 <features>
29 SSL
30 </features>
31 <name>
32 HTTPS GET with failed proxy auth
33 </name>
34 <command>
35 https://test.anything.really.com:94 -x %HOSTIP:%HTTPPORT
36 </command>
37 </client>
38
39 #
40 # Verify data after the test has been "shot"
41 <verify>
42 <errorcode>
43 56
44 </errorcode>
45 <strip>
46 ^User-Agent:.*
47 </strip>
48 <protocol>
49 CONNECT test.anything.really.com:94 HTTP/1.0
50 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
51 Host: test.anything.really.com:94
52 Proxy-Connection: Keep-Alive
53
54 </protocol>
55 </verify>