File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test302
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (4 years, 6 months ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

<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
</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>
<strip>
^User-Agent:.*
</strip>
<data>
</data>
</verify>
</testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>