mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Fixed test to use HTTPS as documented.
This commit is contained in:
parent
4c841a1f0c
commit
59e3651af3
@ -1,4 +1,12 @@
|
|||||||
<testcase>
|
<testcase>
|
||||||
|
<info>
|
||||||
|
<keywords>
|
||||||
|
HTTPS
|
||||||
|
HTTP GET
|
||||||
|
timeout
|
||||||
|
</keywords>
|
||||||
|
</info>
|
||||||
|
|
||||||
# Server-side
|
# Server-side
|
||||||
<reply>
|
<reply>
|
||||||
<data>
|
<data>
|
||||||
@ -9,7 +17,7 @@ Connection: close
|
|||||||
<html>result</html>
|
<html>result</html>
|
||||||
</data>
|
</data>
|
||||||
<postcmd>
|
<postcmd>
|
||||||
wait 10
|
wait 20
|
||||||
</postcmd>
|
</postcmd>
|
||||||
</reply>
|
</reply>
|
||||||
|
|
||||||
@ -22,10 +30,10 @@ SSL
|
|||||||
https
|
https
|
||||||
</server>
|
</server>
|
||||||
<name>
|
<name>
|
||||||
HTTPS with 2 secs timeout
|
HTTPS with 7 secs timeout
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/want/303 -m 2
|
-k https://%HOSTIP:%HTTPSPORT/want/303 -m 7
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
@ -36,7 +44,7 @@ http://%HOSTIP:%HTTPPORT/want/303 -m 2
|
|||||||
</strip>
|
</strip>
|
||||||
<protocol>
|
<protocol>
|
||||||
GET /want/303 HTTP/1.1
|
GET /want/303 HTTP/1.1
|
||||||
Host: %HOSTIP:%HTTPPORT
|
Host: %HOSTIP:%HTTPSPORT
|
||||||
Accept: */*
|
Accept: */*
|
||||||
|
|
||||||
</protocol>
|
</protocol>
|
||||||
|
Loading…
Reference in New Issue
Block a user