mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:07:17 +03:00
HTTPS test case
This commit is contained in:
parent
8d1d93d56d
commit
6d8f1328bf
2 changed files with 73 additions and 0 deletions
31
tests/data/test302
Normal file
31
tests/data/test302
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<name>
|
||||
HTTPS GET over HTTP proxy fails
|
||||
</name>
|
||||
<command>
|
||||
-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>
|
||||
26
|
||||
</errorcode>
|
||||
<strip>
|
||||
^User-Agent:.*
|
||||
</strip>
|
||||
<protocol>
|
||||
</protocol>
|
||||
<data>
|
||||
[insert full protocol verifiction dump here]
|
||||
</data>
|
||||
</verify>
|
||||
Loading…
Add table
Add a link
Reference in a new issue