test14 (544B)
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/%TESTNUMBER -i --head 28 </command> 29 </client> 30 31 # Verify data after the test has been "shot" 32 <verify> 33 <protocol> 34 HEAD /want/%TESTNUMBER HTTP/1.1 35 Host: %HOSTIP:%HTTPPORT 36 User-Agent: curl/%VERSION 37 Accept: */* 38 39 </protocol> 40 </verify> 41 </testcase>