1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6Resume 7FAILURE 8</keywords> 9</info> 10# Server-side 11<reply> 12<data nocheck="yes"> 13HTTP/1.0 200 Mooo 14Date: Mon, 13 Nov 2000 13:41:09 GMT 15Server: myown/1.0 16Connection: close 17 18todelooooo lalalala yada yada, we know nothing about ranges ;-) 19</data> 20</reply> 21 22# Client-side 23<client> 24<server> 25http 26</server> 27 <name> 28HTTP resume request without server supporting it 29 </name> 30 <command option="no-output"> 31http://%HOSTIP:%HTTPPORT/want/38 -C - --no-include -o log/fewl38.txt 32</command> 33<file name="log/fewl38.txt"> 34This text is here to simulate a partly downloaded file to resume 35download on. 36</file> 37</client> 38 39# Verify data after the test has been "shot" 40<verify> 41<errorcode> 4233 43</errorcode> 44<strip> 45^User-Agent:.* 46</strip> 47<protocol> 48GET /want/38 HTTP/1.1 49Host: %HOSTIP:%HTTPPORT 50Range: bytes=78- 51Accept: */* 52 53</protocol> 54 55# the download target file must remain untouched 56<file name="log/fewl38.txt"> 57This text is here to simulate a partly downloaded file to resume 58download on. 59</file> 60</verify> 61</testcase> 62