2019-08-06 05:30:08 -04: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-12 11:38:26 -05:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
2019-08-06 05:30:08 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-12 11:38:26 -05:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2019-08-06 05:30:08 -04:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
<stdout>
|
2021-06-08 18:08:47 -04:00
|
|
|
Retry-After 0
|
2019-08-06 05:30:08 -04:00
|
|
|
</stdout>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|