1<testcase> 2# also verified by 1156 in libcurl API terms 3 4<info> 5<keywords> 6HTTP 7HTTP GET 8Resume 9</keywords> 10</info> 11 12# Server-side 13<reply> 14<data> 15HTTP/1.1 416 Invalid range 16Connection: close 17Content-Length: 0 18 19</data> 20 21# The file data that exists at the start of the test must be included in 22# the verification. 23<datacheck> 24012345678 25012345678 26012345678 27012345678 28012345678 29012345678 30012345678 31012345678 32012345678 33012345678 34HTTP/1.1 416 Invalid range 35Connection: close 36Content-Length: 0 37 38</datacheck> 39 40</reply> 41 42# Client-side 43<client> 44<server> 45http 46</server> 47<killserver> 48http 49</killserver> 50<name> 51-f and resume transfer of an entirely-downloaded file 52</name> 53<command> 54http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C - -f 55</command> 56<file name="%LOGDIR/curl%TESTNUMBER.out"> 57012345678 58012345678 59012345678 60012345678 61012345678 62012345678 63012345678 64012345678 65012345678 66012345678 67</file> 68</client> 69 70# Verify data after the test has been "shot" 71<verify> 72<protocol> 73GET /%TESTNUMBER HTTP/1.1 74Host: %HOSTIP:%HTTPPORT 75Range: bytes=100- 76User-Agent: curl/%VERSION 77Accept: */* 78 79</protocol> 80</verify> 81</testcase> 82