1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00
curl/tests/data/test302

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