mirror of
https://github.com/moparisthebest/curl
synced 2024-12-26 01:58:49 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
50 lines
622 B
Plaintext
50 lines
622 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>
|