1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP PUT 6</keywords> 7</info> 8# 9# Server-side 10<reply> 11<data> 12HTTP/1.0 200 OK 13Server: test-server/fake 14Content-Type: text/html 15Content-Length: 6 16 17blaha 18</data> 19</reply> 20 21# 22# Client-side 23<client> 24<server> 25http 26</server> 27 <name> 28HTTP PUT from a file but enforce chunked transfer-encoding 29 </name> 30 <command> 31 -T log/file218 -H "Transfer-Encoding: chunked" http://%HOSTIP:%HTTPPORT/218 32</command> 33<file name="log/file218"> 34just some tiny teeny contents 35</file> 36</client> 37 38# 39# Verify data after the test has been "shot" 40<verify> 41<strip> 42^User-Agent:.* 43</strip> 44<protocol> 45PUT /218 HTTP/1.1 46Host: %HOSTIP:%HTTPPORT 47Accept: */* 48Transfer-Encoding: chunked 49Expect: 100-continue 50 511e 52just some tiny teeny contents 53 540 55 56</protocol> 57</verify> 58</testcase> 59