xref: /curl/tests/data/test302 (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
15<connect nocheck="yes">
16HTTP/1.1 405 Method Not Allowed swsclose
17
18And you should ignore this data.
19</connect>
20
21</reply>
22
23# Client-side
24<client>
25<features>
26SSL
27proxy
28</features>
29<server>
30https
31</server>
32<name>
33HTTPS GET over HTTP proxy fails
34</name>
35<command>
36-k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:%TESTNUMBER/slash/%TESTNUMBER
37</command>
38</client>
39
40#
41# Verify data after the test has been "shot"
42<verify>
43<errorcode>
4456
45</errorcode>
46<data>
47</data>
48</verify>
49</testcase>
50