1<testcase> 2<info> 3<keywords> 4HTTP 5PUT 6</keywords> 7</info> 8 9<reply> 10<data> 11HTTP/1.1 200 OK 12Date: Thu, 09 Nov 2010 14:49:00 GMT 13Server: test-server/fake 14Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 15ETag: "21025-dc7-39462498" 16Accept-Ranges: bytes 17Content-Length: 6 18Connection: close 19Content-Type: text/html 20Funny-head: yesyes 21 22-foo- 23</data> 24</reply> 25 26 27# 28# Client-side 29<client> 30<server> 31http 32</server> 33 34# make sure there's no Expect: 100-continue when there's no file to send! 35 <name> 36HTTP with zero size file PUT 37 </name> 38 <command> 39http://%HOSTIP:%HTTPPORT/1411 -T log/empty1411 40</command> 41# create an empty file 42<file name="log/empty1411"> 43</file> 44</client> 45 46# 47# Verify data after the test has been "shot" 48<verify> 49<strip> 50^User-Agent:.* 51</strip> 52<protocol> 53PUT /1411 HTTP/1.1 54Host: %HOSTIP:%HTTPPORT 55Accept: */* 56Content-Length: 0 57 58</protocol> 59</verify> 60</testcase> 61