1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP PUT 6</keywords> 7</info> 8# Server-side 9<reply> 10<data> 11HTTP/1.0 200 OK swsclose 12Date: Thu, 09 Nov 2010 14:49:00 GMT 13Server: test-server/fake 14 15blablabla 16 17</data> 18</reply> 19 20# Client-side 21<client> 22<server> 23http 24</server> 25 <name> 26simple HTTP PUT from file 27 </name> 28 <command> 29http://%HOSTIP:%HTTPPORT/we/want/10 -T log/test10.txt 30</command> 31<file name="log/test10.txt"> 32Weird 33 file 34 to 35 upload 36for 37 testing 38the 39 PUT 40 feature 41</file> 42</client> 43 44# Verify data after the test has been "shot" 45<verify> 46<protocol> 47PUT /we/want/10 HTTP/1.1 48Host: %HOSTIP:%HTTPPORT 49User-Agent: curl/%VERSION 50Accept: */* 51Content-Length: 78 52Expect: 100-continue 53 54Weird 55 file 56 to 57 upload 58for 59 testing 60the 61 PUT 62 feature 63</protocol> 64</verify> 65</testcase> 66