xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | 204 |
| 6 | </keywords> |
| 7 | </info> |
| 8 | # Server-side |
| 9 | <reply> |
| 10 | <data> |
| 11 | HTTP/1.1 204 No Content |
| 12 | Date: Mon, 13 Nov 2000 13:41:09 GMT |
| 13 | Server: myown/1.0 |
| 14 | Transfer-Encoding: chunked |
| 15 | |
| 16 | </data> |
| 17 | </reply> |
| 18 | |
| 19 | # Client-side |
| 20 | <client> |
| 21 | <server> |
| 22 | http |
| 23 | </server> |
| 24 | <name> |
| 25 | HTTP 204 No content with chunked header |
| 26 | </name> |
| 27 | <command> |
| 28 | http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER |
| 29 | </command> |
| 30 | </client> |
| 31 | |
| 32 | # Verify data after the test has been "shot" |
| 33 | <verify> |
| 34 | <protocol> |
| 35 | GET /want/%TESTNUMBER HTTP/1.1
|
| 36 | Host: %HOSTIP:%HTTPPORT
|
| 37 | User-Agent: curl/%VERSION
|
| 38 | Accept: */*
|
| 39 |
|
| 40 | </protocol> |
| 41 | </verify> |
| 42 | </testcase> |