xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | HTTP | ||||
5 | HTTP PUT | ||||
6 | HTTP/1.0 | ||||
7 | </keywords> | ||||
8 | </info> | ||||
9 | |||||
10 | # Server-side | ||||
11 | <reply> | ||||
12 | </reply> | ||||
13 | |||||
14 | # Client-side | ||||
15 | <client> | ||||
16 | <server> | ||||
17 | http | ||||
18 | </server> | ||||
19 | <name> | ||||
20 | HTTP 1.0 PUT from stdin with no content length | ||||
21 | </name> | ||||
22 | <command> | ||||
23 | http://%HOSTIP:%HTTPPORT/bzz/%TESTNUMBER -T - -0 | ||||
24 | </command> | ||||
25 | <stdin> | ||||
26 | this data can't be sent | ||||
27 | </stdin> | ||||
28 | </client> | ||||
29 | |||||
30 | # Verify data after the test has been "shot" | ||||
31 | <verify> | ||||
32 | <errorcode> | ||||
33 | 25 | ||||
34 | </errorcode> | ||||
35 | </verify> | ||||
36 | </testcase> |