113498266Sopenharmony_ci<testcase> 213498266Sopenharmony_ci<info> 313498266Sopenharmony_ci<keywords> 413498266Sopenharmony_ciHTTP 513498266Sopenharmony_ciHTTP GET 613498266Sopenharmony_ciRange 713498266Sopenharmony_ciDELAY 813498266Sopenharmony_ci</keywords> 913498266Sopenharmony_ci</info> 1013498266Sopenharmony_ci 1113498266Sopenharmony_ci# Server-side 1213498266Sopenharmony_ci<reply> 1313498266Sopenharmony_ci<data nocheck="yes"> 1413498266Sopenharmony_ciHTTP/1.1 416 Requested Range Not Satisfiable 1513498266Sopenharmony_ciDate: Tue, 09 Sep 2010 14:49:00 GMT 1613498266Sopenharmony_ciAccept-Ranges: bytes 1713498266Sopenharmony_ciContent-Length: 115 1813498266Sopenharmony_ci 1913498266Sopenharmony_ciThis is a long error message that is large enough that the test server is 2013498266Sopenharmony_ciguaranteed to split it into two packets. 2113498266Sopenharmony_ci</data> 2213498266Sopenharmony_ci 2313498266Sopenharmony_ci<data1> 2413498266Sopenharmony_ciHTTP/1.1 206 Partial Content 2513498266Sopenharmony_ciDate: Tue, 09 Sep 2010 14:49:01 GMT 2613498266Sopenharmony_ciAccept-Ranges: bytes 2713498266Sopenharmony_ciContent-Range: bytes 10-18/155 2813498266Sopenharmony_ciContent-Length: 13 2913498266Sopenharmony_ciContent-Type: text/plain 3013498266Sopenharmony_ci 3113498266Sopenharmony_cipartial body 3213498266Sopenharmony_ci</data1> 3313498266Sopenharmony_ci 3413498266Sopenharmony_ci<servercmd> 3513498266Sopenharmony_ciwritedelay: 1000 3613498266Sopenharmony_ci</servercmd> 3713498266Sopenharmony_ci</reply> 3813498266Sopenharmony_ci 3913498266Sopenharmony_ci# Client-side 4013498266Sopenharmony_ci<client> 4113498266Sopenharmony_ci<server> 4213498266Sopenharmony_cihttp 4313498266Sopenharmony_ci</server> 4413498266Sopenharmony_ci<name> 4513498266Sopenharmony_ciHTTP with invalid range then another URL 4613498266Sopenharmony_ci</name> 4713498266Sopenharmony_ci<command> 4813498266Sopenharmony_ci-r 10-22 http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER http://%HOSTIP:%HTTPPORT/wantmore/%TESTNUMBER0001 4913498266Sopenharmony_ci</command> 5013498266Sopenharmony_ci</client> 5113498266Sopenharmony_ci 5213498266Sopenharmony_ci# Verify data after the test has been "shot" 5313498266Sopenharmony_ci<verify> 5413498266Sopenharmony_ci<stdout> 5513498266Sopenharmony_ciHTTP/1.1 416 Requested Range Not Satisfiable 5613498266Sopenharmony_ciDate: Tue, 09 Sep 2010 14:49:00 GMT 5713498266Sopenharmony_ciAccept-Ranges: bytes 5813498266Sopenharmony_ciContent-Length: 115 5913498266Sopenharmony_ci 6013498266Sopenharmony_ciThis is a long error message that is large enough that the test server is 6113498266Sopenharmony_ciguaranteed to split it into two packets. 6213498266Sopenharmony_ciHTTP/1.1 206 Partial Content 6313498266Sopenharmony_ciDate: Tue, 09 Sep 2010 14:49:01 GMT 6413498266Sopenharmony_ciAccept-Ranges: bytes 6513498266Sopenharmony_ciContent-Range: bytes 10-18/155 6613498266Sopenharmony_ciContent-Length: 13 6713498266Sopenharmony_ciContent-Type: text/plain 6813498266Sopenharmony_ci 6913498266Sopenharmony_cipartial body 7013498266Sopenharmony_ci</stdout> 7113498266Sopenharmony_ci 7213498266Sopenharmony_ci<protocol> 7313498266Sopenharmony_ciGET /want/%TESTNUMBER HTTP/1.1 7413498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 7513498266Sopenharmony_ciRange: bytes=10-22 7613498266Sopenharmony_ciUser-Agent: curl/%VERSION 7713498266Sopenharmony_ciAccept: */* 7813498266Sopenharmony_ci 7913498266Sopenharmony_ciGET /wantmore/%TESTNUMBER0001 HTTP/1.1 8013498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT 8113498266Sopenharmony_ciRange: bytes=10-22 8213498266Sopenharmony_ciUser-Agent: curl/%VERSION 8313498266Sopenharmony_ciAccept: */* 8413498266Sopenharmony_ci 8513498266Sopenharmony_ci</protocol> 8613498266Sopenharmony_ci</verify> 8713498266Sopenharmony_ci</testcase> 88