113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ciHTTP 513498266Sopenharmony_ciHTTP GET 613498266Sopenharmony_ciContent-Range 713498266Sopenharmony_ciResume 813498266Sopenharmony_ci</keywords> 913498266Sopenharmony_ci</info> 1013498266Sopenharmony_ci 1113498266Sopenharmony_ci# Server-side 1213498266Sopenharmony_ci<reply> 1313498266Sopenharmony_ci<data> 1413498266Sopenharmony_ciHTTP/1.1 416 Requested Range Not Satisfiable swsclose 1513498266Sopenharmony_ciDate: Fri, 24 Oct 2003 21:33:12 GMT 1613498266Sopenharmony_ciServer: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.3.1 1713498266Sopenharmony_ciLast-Modified: Fri, 24 Oct 2003 18:01:23 GMT 1813498266Sopenharmony_ciETag: "ab57a-507-3f9968f3" 1913498266Sopenharmony_ciAccept-Ranges: bytes 2013498266Sopenharmony_ciContent-Length: 4 2113498266Sopenharmony_ciContent-Range: bytes */87 2213498266Sopenharmony_ciContent-Type: image/gif 2313498266Sopenharmony_ciConnection: close 2413498266Sopenharmony_ci 2513498266Sopenharmony_cibad 2613498266Sopenharmony_ci</data> 2713498266Sopenharmony_ci 2813498266Sopenharmony_ci<datacheck> 2913498266Sopenharmony_ciHTTP/1.1 416 Requested Range Not Satisfiable swsclose 3013498266Sopenharmony_ciDate: Fri, 24 Oct 2003 21:33:12 GMT 3113498266Sopenharmony_ciServer: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.3.1 3213498266Sopenharmony_ciLast-Modified: Fri, 24 Oct 2003 18:01:23 GMT 3313498266Sopenharmony_ciETag: "ab57a-507-3f9968f3" 3413498266Sopenharmony_ciAccept-Ranges: bytes 3513498266Sopenharmony_ciContent-Length: 4 3613498266Sopenharmony_ciContent-Range: bytes */87 3713498266Sopenharmony_ciContent-Type: image/gif 3813498266Sopenharmony_ciConnection: close 3913498266Sopenharmony_ci 4013498266Sopenharmony_ci</datacheck> 4113498266Sopenharmony_ci 4213498266Sopenharmony_ci</reply> 4313498266Sopenharmony_ci 4413498266Sopenharmony_ci# Client-side 4513498266Sopenharmony_ci<client> 4613498266Sopenharmony_ci<server> 4713498266Sopenharmony_cihttp 4813498266Sopenharmony_ci</server> 4913498266Sopenharmony_ci<name> 5013498266Sopenharmony_ciHTTP resume transfer with the whole file already downloaded and --fail 5113498266Sopenharmony_ci</name> 5213498266Sopenharmony_ci<command> 5313498266Sopenharmony_cihttp://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C 87 --fail 5413498266Sopenharmony_ci</command> 5513498266Sopenharmony_ci</client> 5613498266Sopenharmony_ci 5713498266Sopenharmony_ci# Verify data after the test has been "shot" 5813498266Sopenharmony_ci<verify> 5913498266Sopenharmony_ci<protocol> 6013498266Sopenharmony_ciGET /want/%TESTNUMBER HTTP/1.1 6113498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 6213498266Sopenharmony_ciRange: bytes=87- 6313498266Sopenharmony_ciUser-Agent: curl/%VERSION 6413498266Sopenharmony_ciAccept: */* 6513498266Sopenharmony_ci 6613498266Sopenharmony_ci</protocol> 6713498266Sopenharmony_ci<errorcode> 6813498266Sopenharmony_ci0 6913498266Sopenharmony_ci</errorcode> 7013498266Sopenharmony_ci</verify> 7113498266Sopenharmony_ci</testcase> 72