xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | HTTP |
| 5 | HTTP POST |
| 6 | Content-Length |
| 7 | chunked Transfer-Encoding |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # Server-side |
| 12 | <reply> |
| 13 | <data nocheck="yes"> |
| 14 | HTTP/1.1 200 OK
|
| 15 | Date: Sun, 19 Jan 2014 18:50:58 GMT
|
| 16 | Server: test-server/fake swsclose
|
| 17 | Connection: close
|
| 18 | </data> |
| 19 | </reply> |
| 20 | |
| 21 | # Client-side |
| 22 | <client> |
| 23 | <server> |
| 24 | http |
| 25 | </server> |
| 26 | <tool> |
| 27 | lib%TESTNUMBER |
| 28 | </tool> |
| 29 | <name> |
| 30 | HTTP 1.0 POST with read callback and unknown data size |
| 31 | </name> |
| 32 | <command> |
| 33 | http://%HOSTIP:%HTTPPORT/%TESTNUMBER |
| 34 | </command> |
| 35 | </client> |
| 36 | |
| 37 | # Verify data after the test has been "shot" |
| 38 | <verify> |
| 39 | <errorcode> |
| 40 | 25 |
| 41 | </errorcode> |
| 42 | </verify> |
| 43 | </testcase> |