curl/tests/data/test302

50 lines
622 B
Plaintext
Raw Normal View History

<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>
2001-09-18 23:13:40 +08:00
# Client-side
<client>
<features>
SSL
proxy
</features>
<server>
https
</server>
2001-09-18 23:13:40 +08:00
<name>
HTTPS GET over HTTP proxy fails
</name>
<command>
-k -U fake:user -x %HOSTIP:%HTTPPORT https://bad.fakeurl-to.test:%TESTNUMBER/slash/%TESTNUMBER
2001-09-18 23:13:40 +08:00
</command>
</client>
2001-09-18 23:13:40 +08:00
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
2002-04-10 22:05:52 +08:00
56
2001-09-18 23:13:40 +08:00
</errorcode>
<data>
</data>
</verify>
</testcase>