1
0
mirror of https://github.com/moparisthebest/curl synced 2024-10-31 23:55:01 -04:00
curl/tests/data/test303

56 lines
662 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: Thu, 09 Nov 2010 14:49:00 GMT
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/303 -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>
<strip>
^User-Agent:.*
</strip>
<protocol>
GET /want/303 HTTP/1.1
2008-02-08 21:01:36 -05:00
Host: %HOSTIP:%HTTPSPORT
Accept: */*
2001-11-02 18:09:02 -05:00
</protocol>
<errorcode>
28
</errorcode>
</verify>
</testcase>