xref: /curl/tests/data/test94 (revision 3fd80c7b)
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<connect 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</connect>
22</reply>
23
24#
25# Client-side
26<client>
27<server>
28http
29</server>
30<features>
31SSL
32proxy
33</features>
34<name>
35HTTPS GET with failed proxy auth (CONNECT 1.0)
36</name>
37<command>
38https://test.anything.really.com:%TESTNUMBER --proxy1.0 %HOSTIP:%HTTPPORT
39</command>
40</client>
41
42#
43# Verify data after the test has been "shot"
44<verify>
45<errorcode>
4656
47</errorcode>
48<protocol>
49CONNECT test.anything.really.com:%TESTNUMBER HTTP/1.0
50Host: test.anything.really.com:%TESTNUMBER
51User-Agent: curl/%VERSION
52Proxy-Connection: Keep-Alive
53
54</protocol>
55</verify>
56</testcase>
57