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