1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6</keywords> 7</info> 8 9# 10<reply> 11<data nocheck="yes"> 12HTTP/1.1 200 OK 13Date: Tue, 09 Nov 2010 14:49:00 GMT 14Server: test-server/fake 15Content-Length: 0 16Connection: close 17Content-Type: text/html 18 19</data> 20</reply> 21 22# 23# Client-side 24<client> 25<server> 26http 27file 28</server> 29<name> 30HTTP GET -o fname without Content-Disposition (empty file) 31</name> 32<command option="no-output,no-include"> 33http://%HOSTIP:%HTTPPORT/%TESTNUMBER -o %LOGDIR/outfile%TESTNUMBER file://%FILE_PWD/%LOGDIR/outfile%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 43User-Agent: curl/%VERSION 44Accept: */* 45 46</protocol> 47 48<file1 name="%LOGDIR/outfile%TESTNUMBER"> 49</file1> 50 51<notexists> 52%LOGDIR/%TESTNUMBER 53</notexists> 54</verify> 55</testcase> 56