1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP HEAD 6 </keywords> 7 </info> 8 # Server-side 9 <reply> 10 <data> 11 HTTP/1.1 200 OK 12 Server: thebest/1.0 13 Connection: close 14 15 </data> 16 </reply> 17 18 # Client-side 19 <client> 20 <server> 21 http 22 </server> 23 <name> 24 HTTP HEAD with Connection: close 25 </name> 26 <command> 27 http://%HOSTIP:%HTTPPORT/want/14 -i --head 28 </command> 29 </client> 30 31 # Verify data after the test has been "shot" 32 <verify> 33 <strip> 34 ^User-Agent:.* 35 </strip> 36 <protocol> 37 HEAD /want/14 HTTP/1.1 38 User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4 39 Host: %HOSTIP:%HTTPPORT 40 Accept: */* 41 42 </protocol> 43 </verify> 44 </testcase> 45