1<testcase> 2# 3# Server-side 4<reply> 5<data mode="text"> 6HTTP/1.1 200 OK 7Date: Thu, 09 Nov 2010 14:49:00 GMT 8Server: test-server/fake 9Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 10ETag: "21025-dc7-39462498" 11Accept-Ranges: bytes 12Content-Length: 6 13Connection: close 14Content-Type: text/html 15Funny-head: yesyes 16 17</data> 18</reply> 19 20# 21# Client-side 22<client> 23<server> 24http 25</server> 26<tool> 27lib514 28</tool> 29 <name> 30First set options to POST and then to make HEAD 31 </name> 32# the 1s post-command delay helps to prevent a spurious failure on s390 33 <command delay="1"> 34http://%HOSTIP:%HTTPPORT/514 35</command> 36</client> 37 38# 39# Verify data after the test has been "shot" 40<verify> 41<strip> 42^User-Agent:.* 43</strip> 44<protocol> 45HEAD /514 HTTP/1.1 46Host: %HOSTIP:%HTTPPORT 47Accept: */* 48 49</protocol> 50</verify> 51</testcase> 52