| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> | ||||
| 3 | <keywords> | ||||
| 4 | HTTP | ||||
| 5 | HTTP GET | ||||
| 6 | </keywords> | ||||
| 7 | </info> | ||||
| 8 | |||||
| 9 | <reply> | ||||
| 10 | <data> | ||||
| 11 | HTTP/1.1 405 405 | ||||
| 12 | Content-Length: 6 | ||||
| 13 | Connection: close | ||||
| 14 | |||||
| 15 | -foo- | ||||
| 16 | </data> | ||||
| 17 | </reply> | ||||
| 18 | |||||
| 19 | # | ||||
| 20 | # Client-side | ||||
| 21 | <client> | ||||
| 22 | <server> | ||||
| 23 | http | ||||
| 24 | </server> | ||||
| 25 | |||||
| 26 | <name> | ||||
| 27 | HTTP GET with 3-digit response and only digits in reason | ||||
| 28 | </name> | ||||
| 29 | <command> | ||||
| 30 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER | ||||
| 31 | </command> | ||||
| 32 | </client> | ||||
| 33 | |||||
| 34 | # | ||||
| 35 | # Verify data after the test has been "shot" | ||||
| 36 | <verify> | ||||
| 37 | <protocol> | ||||
| 38 | GET /%TESTNUMBER HTTP/1.1 | ||||
| 39 | Host: %HOSTIP:%HTTPPORT | ||||
| 40 | User-Agent: curl/%VERSION | ||||
| 41 | Accept: */* | ||||
| 42 | |||||
| 43 | </protocol> | ||||
| 44 | </verify> | ||||
| 45 | </testcase> | ||||