1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker<info> 3*6236dae4SAndroid Build Coastguard Worker<keywords> 4*6236dae4SAndroid Build Coastguard WorkerHTTP 5*6236dae4SAndroid Build Coastguard WorkerHTTP GET 6*6236dae4SAndroid Build Coastguard WorkerResume 7*6236dae4SAndroid Build Coastguard Worker</keywords> 8*6236dae4SAndroid Build Coastguard Worker</info> 9*6236dae4SAndroid Build Coastguard Worker 10*6236dae4SAndroid Build Coastguard Worker# Server-side 11*6236dae4SAndroid Build Coastguard Worker<reply> 12*6236dae4SAndroid Build Coastguard Worker<data> 13*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 206 Partial Content 14*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 13 Nov 2007 13:41:09 GMT 15*6236dae4SAndroid Build Coastguard WorkerLast-Modified: Tue, 13 Jun 2000 12:10:00 GMT 16*6236dae4SAndroid Build Coastguard WorkerAccept-Ranges: bytes 17*6236dae4SAndroid Build Coastguard WorkerContent-Length: 60 18*6236dae4SAndroid Build Coastguard WorkerContent-Range: bytes 40-99/100 19*6236dae4SAndroid Build Coastguard Worker 20*6236dae4SAndroid Build Coastguard Worker012345678 21*6236dae4SAndroid Build Coastguard Worker012345678 22*6236dae4SAndroid Build Coastguard Worker012345678 23*6236dae4SAndroid Build Coastguard Worker012345678 24*6236dae4SAndroid Build Coastguard Worker012345678 25*6236dae4SAndroid Build Coastguard Worker012345678 26*6236dae4SAndroid Build Coastguard Worker</data> 27*6236dae4SAndroid Build Coastguard Worker 28*6236dae4SAndroid Build Coastguard Worker# The file data that exists at the start of the test must be included in 29*6236dae4SAndroid Build Coastguard Worker# the verification. 30*6236dae4SAndroid Build Coastguard Worker<datacheck> 31*6236dae4SAndroid Build Coastguard Worker012345678 32*6236dae4SAndroid Build Coastguard Worker012345678 33*6236dae4SAndroid Build Coastguard Worker012345678 34*6236dae4SAndroid Build Coastguard Worker012345678 35*6236dae4SAndroid Build Coastguard WorkerHTTP/1.1 206 Partial Content 36*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 13 Nov 2007 13:41:09 GMT 37*6236dae4SAndroid Build Coastguard WorkerLast-Modified: Tue, 13 Jun 2000 12:10:00 GMT 38*6236dae4SAndroid Build Coastguard WorkerAccept-Ranges: bytes 39*6236dae4SAndroid Build Coastguard WorkerContent-Length: 60 40*6236dae4SAndroid Build Coastguard WorkerContent-Range: bytes 40-99/100 41*6236dae4SAndroid Build Coastguard Worker 42*6236dae4SAndroid Build Coastguard Worker012345678 43*6236dae4SAndroid Build Coastguard Worker012345678 44*6236dae4SAndroid Build Coastguard Worker012345678 45*6236dae4SAndroid Build Coastguard Worker012345678 46*6236dae4SAndroid Build Coastguard Worker012345678 47*6236dae4SAndroid Build Coastguard Worker012345678 48*6236dae4SAndroid Build Coastguard Worker</datacheck> 49*6236dae4SAndroid Build Coastguard Worker 50*6236dae4SAndroid Build Coastguard Worker</reply> 51*6236dae4SAndroid Build Coastguard Worker 52*6236dae4SAndroid Build Coastguard Worker# Client-side 53*6236dae4SAndroid Build Coastguard Worker<client> 54*6236dae4SAndroid Build Coastguard Worker<server> 55*6236dae4SAndroid Build Coastguard Workerhttp 56*6236dae4SAndroid Build Coastguard Worker</server> 57*6236dae4SAndroid Build Coastguard Worker<name> 58*6236dae4SAndroid Build Coastguard WorkerHTTP GET with resume from end of file 59*6236dae4SAndroid Build Coastguard Worker</name> 60*6236dae4SAndroid Build Coastguard Worker<command> 61*6236dae4SAndroid Build Coastguard Workerhttp://%HOSTIP:%HTTPPORT/%TESTNUMBER -C - 62*6236dae4SAndroid Build Coastguard Worker</command> 63*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/curl%TESTNUMBER.out"> 64*6236dae4SAndroid Build Coastguard Worker012345678 65*6236dae4SAndroid Build Coastguard Worker012345678 66*6236dae4SAndroid Build Coastguard Worker012345678 67*6236dae4SAndroid Build Coastguard Worker012345678 68*6236dae4SAndroid Build Coastguard Worker</file> 69*6236dae4SAndroid Build Coastguard Worker</client> 70*6236dae4SAndroid Build Coastguard Worker 71*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 72*6236dae4SAndroid Build Coastguard Worker<verify> 73*6236dae4SAndroid Build Coastguard Worker<protocol> 74*6236dae4SAndroid Build Coastguard WorkerGET /%TESTNUMBER HTTP/1.1 75*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT 76*6236dae4SAndroid Build Coastguard WorkerRange: bytes=40- 77*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION 78*6236dae4SAndroid Build Coastguard WorkerAccept: */* 79*6236dae4SAndroid Build Coastguard Worker 80*6236dae4SAndroid Build Coastguard Worker</protocol> 81*6236dae4SAndroid Build Coastguard Worker</verify> 82*6236dae4SAndroid Build Coastguard Worker</testcase> 83