test1594 (650B)
1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 HTTP replaced headers 7 CURLOPT_TIMECONDITION 8 If-Modified-Since 9 </keywords> 10 </info> 11 12 # Server-side 13 <reply> 14 <data nocheck="yes"> 15 HTTP/1.1 503 Error 16 Date: Thu, 11 Jul 2019 02:26:59 GMT 17 Server: test-server/swsclose 18 Retry-After: 22 19 20 </data> 21 </reply> 22 # Client-side 23 <client> 24 <server> 25 http 26 </server> 27 <name> 28 HTTP Retry-After header parsing and extraction 29 </name> 30 <tool> 31 lib%TESTNUMBER 32 </tool> 33 <command> 34 http://%HOSTIP:%HTTPPORT/%TESTNUMBER 35 </command> 36 </client> 37 38 <verify> 39 <protocol> 40 GET /%TESTNUMBER HTTP/1.1 41 Host: %HOSTIP:%HTTPPORT 42 Accept: */* 43 44 </protocol> 45 <stdout> 46 Retry-After 22 47 </stdout> 48 </verify> 49 </testcase>