50 lines
620 B
Plaintext
50 lines
620 B
Plaintext
|
<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:%TESTNUMBER/slash/%TESTNUMBER
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
#
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<errorcode>
|
||
|
56
|
||
|
</errorcode>
|
||
|
<data>
|
||
|
</data>
|
||
|
</verify>
|
||
|
</testcase>
|