curl/tests/data/test303

56 строки
662 B
Plaintext
Исходник Обычный вид История

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