1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6Content-Range 7Resume 8</keywords> 9</info> 10 11# Server-side 12<reply> 13<data> 14HTTP/1.1 416 Requested Range Not Satisfiable 15Date: Fri, 24 Oct 2003 21:33:12 GMT 16Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.3.1 17Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT 18ETag: "ab57a-507-3f9968f3" 19Accept-Ranges: bytes 20Content-Length: 4 21Content-Range: bytes */87 22Content-Type: image/gif 23 24bad 25</data> 26</reply> 27 28# Client-side 29<client> 30<server> 31http 32</server> 33 <name> 34HTTP resume transfer with the whole file already downloaded 35 </name> 36 <command> 37http://%HOSTIP:%HTTPPORT/want/92 -C 87 38</command> 39</client> 40 41# Verify data after the test has been "shot" 42<verify> 43<strip> 44^User-Agent:.* 45</strip> 46<protocol> 47GET /want/92 HTTP/1.1 48Host: %HOSTIP:%HTTPPORT 49Range: bytes=87- 50Accept: */* 51 52</protocol> 53 54</verify> 55</testcase> 56