curl/tests/data/test303

56 lines
662 B
Plaintext
Raw Normal View History

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