1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-14 05:25:06 -05:00
curl/tests/data/test303

54 lines
673 B
Plaintext
Raw Normal View History

<testcase>
2008-02-08 21:01:36 -05:00
<info>
<keywords>
HTTPS
HTTP GET
timeout
</keywords>
</info>
2001-11-02 18:09:02 -05:00
# Server-side
<reply>
<data>
2008-02-08 21:37:31 -05:00
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
2008-02-08 21:37:31 -05:00
Connection: close
_data_result_data_
2001-11-02 18:09:02 -05:00
</data>
<postcmd>
2008-02-08 21:01:36 -05:00
wait 20
2001-11-02 18:09:02 -05:00
</postcmd>
</reply>
# Client-side
<client>
<features>
SSL
</features>
<server>
https
</server>
2001-11-02 18:09:02 -05:00
<name>
HTTPS with 8 secs timeout
2001-11-02 18:09:02 -05:00
</name>
<command>
-k https://%HOSTIP:%HTTPSPORT/want/%TESTNUMBER -m 8
2001-11-02 18:09:02 -05:00
</command>
</client>
2001-11-02 18:09:02 -05:00
# Verify data after the test has been "shot"
<verify>
<protocol>
GET /want/%TESTNUMBER HTTP/1.1
2008-02-08 21:01:36 -05:00
Host: %HOSTIP:%HTTPSPORT
User-Agent: curl/%VERSION
Accept: */*
2001-11-02 18:09:02 -05:00
</protocol>
<errorcode>
28
</errorcode>
</verify>
</testcase>