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