1<testcase> 2# Server-side 3<reply> 4<data> 5HTTP/1.1 200 No Authorization Required swsclose 6Server: Apache/1.3.27 (Darwin) PHP/4.1.2 7Content-Type: text/html; charset=iso-8859-1 8Connection: close 9 10GET received and served just fine. Thank you very much 11</data> 12</reply> 13 14# Client-side 15<client> 16<server> 17http 18</server> 19 <name> 20HTTP GET with --anyauth (when the server requires none) 21 </name> 22 <command> 23http://%HOSTIP:%HTTPPORT/157 -u testuser:testpass --anyauth 24</command> 25</client> 26 27# Verify data after the test has been "shot" 28<verify> 29<strip> 30^User-Agent:.* 31</strip> 32<protocol> 33GET /157 HTTP/1.1 34Host: %HOSTIP:%HTTPPORT 35Accept: */* 36 37</protocol> 38</verify> 39</testcase> 40