1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
curl/tests/data/test302
Daniel Stenberg c0790ccf08 updated for the new SSL -k
added two new tests to test the absense of -k to insecure SSL sites
2002-08-26 23:06:16 +00:00

32 lines
423 B
Plaintext

#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<name>
HTTPS GET over HTTP proxy fails
</name>
<command>
-k -U fake:user -x %HOSTIP:%HOSTPORT https://ssl.fakeurl-to.test/slash/302
</command>
</test>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
56
</errorcode>
<strip>
^User-Agent:.*
</strip>
<protocol>
</protocol>
<data>
[insert full protocol verifiction dump here]
</data>
</verify>