summaryrefslogtreecommitdiff
path: root/tests/data/test302
blob: bdef98eea2aaf4d520b754f70ffb2121559ca20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<testcase>
<info>
<keywords>
HTTPS
HTTP GET
HTTP CONNECT
HTTP proxy
FAILURE
</keywords>
</info>

# Server-side
<reply>

<connect nocheck="yes">
HTTP/1.1 405 Method Not Allowed swsclose

And you should ignore this data.
</connect>

</reply>

# Client-side
<client>
<features>
SSL
proxy
</features>
<server>
https
</server>
 <name>
HTTPS GET over HTTP proxy fails
 </name>
 <command>
-k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:302/slash/302
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<errorcode>
56
</errorcode>
<data>
</data>
</verify>
</testcase>