2019-08-06 17:30:08 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
HTTP replaced headers
|
|
|
|
CURLOPT_TIMECONDITION
|
|
|
|
If-Modified-Since
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data nocheck="yes">
|
|
|
|
HTTP/1.1 503 Error
|
|
|
|
Date: Thu, 11 Jul 2019 02:26:59 GMT
|
|
|
|
Server: test-server/swsclose
|
|
|
|
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
HTTP Retry-After header extraction (without header)
|
|
|
|
</name>
|
|
|
|
<tool>
|
|
|
|
lib1594
|
|
|
|
</tool>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
2019-08-06 17:30:08 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-13 00:38:26 +08:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2019-08-06 17:30:08 +08:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
<stdout>
|
2021-06-09 06:08:47 +08:00
|
|
|
Retry-After 0
|
2019-08-06 17:30:08 +08:00
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|