xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP 1xx response code |
| 6 | </keywords> |
| 7 | </info> |
| 8 | |
| 9 | # Server-side |
| 10 | <reply> |
| 11 | <data> |
| 12 | HTTP/1.1 104 Experiment
|
| 13 | Server: Microsoft-IIS/5.0
|
| 14 | Date: Sun, 03 Apr 2005 14:57:45 GMT
|
| 15 | X-Powered-By: ASP.NET
|
| 16 |
|
| 17 | HTTP/1.1 200 OK swsbounce
|
| 18 | Server: Microsoft-IIS/6.0
|
| 19 | Content-Type: text/html; charset=iso-8859-1
|
| 20 | Content-Length: 0
|
| 21 |
|
| 22 | </data> |
| 23 | |
| 24 | </reply> |
| 25 | |
| 26 | # Client-side |
| 27 | <client> |
| 28 | # |
| 29 | <server> |
| 30 | http |
| 31 | </server> |
| 32 | <name> |
| 33 | HTTP GET with unexpected 1xx response |
| 34 | </name> |
| 35 | <command> |
| 36 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| 37 | </command> |
| 38 | </client> |
| 39 | |
| 40 | # Verify data after the test has been "shot" |
| 41 | <verify> |
| 42 | <protocol> |
| 43 | GET /%TESTNUMBER HTTP/1.1
|
| 44 | Host: %HOSTIP:%HTTPPORT
|
| 45 | User-Agent: curl/%VERSION
|
| 46 | Accept: */*
|
| 47 |
|
| 48 | </protocol> |
| 49 | </verify> |
| 50 | </testcase> |