1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<data nocheck="yes"> 13HTTP/1.0 200 OK swsclose 14Last-Modified: Thu, 01 Jan 1970 00:00:30 GMT 15Content-Length: 0 16 17</data> 18</reply> 19 20# Client-side 21<client> 22<server> 23http 24</server> 25# tool is what to use instead of 'curl' 26<tool> 27lib%TESTNUMBER 28</tool> 29<name> 30Test CURLINFO_RESPONSE_CODE CURLINFO_SCHEME 31</name> 32<command> 33http://%HOSTIP:%HTTPPORT/%TESTNUMBER 34</command> 35</client> 36 37# 38# Verify data after the test has been "shot" 39<verify> 40<protocol> 41GET /%TESTNUMBER HTTP/1.1 42Host: %HOSTIP:%HTTPPORT 43Accept: */* 44 45</protocol> 46<errorcode> 470 48</errorcode> 49</verify> 50</testcase> 51