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
27</features>
28<server>
29https
30</server>
31 <name>
32HTTPS GET over HTTP proxy fails
33 </name>
34 <command>
35-k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:302/slash/302
36</command>
37</client>
38
39#
40# Verify data after the test has been "shot"
41<verify>
42<errorcode>
4356
44</errorcode>
45<strip>
46^User-Agent:.*
47</strip>
48<data>
49</data>
50</verify>
51</testcase>
52