xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 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 | |
| 19 | </data> |
| 20 | </reply> |
| 21 | # Client-side |
| 22 | <client> |
| 23 | <server> |
| 24 | http |
| 25 | </server> |
| 26 | <name> |
| 27 | HTTP Retry-After header extraction (without header) |
| 28 | </name> |
| 29 | <tool> |
| 30 | lib1594 |
| 31 | </tool> |
| 32 | <command> |
| 33 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| 34 | </command> |
| 35 | </client> |
| 36 | |
| 37 | <verify> |
| 38 | <protocol> |
| 39 | GET /%TESTNUMBER HTTP/1.1
|
| 40 | Host: %HOSTIP:%HTTPPORT
|
| 41 | Accept: */*
|
| 42 |
|
| 43 | </protocol> |
| 44 | <stdout> |
| 45 | Retry-After 0 |
| 46 | </stdout> |
| 47 | </verify> |
| 48 | </testcase> |