1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6Content-Range 7Resume 8followlocation 9</keywords> 10</info> 11 12# Server-side 13<reply> 14<data> 15HTTP/1.1 301 OK swsbounce 16Location: /%TESTNUMBER 17Content-Length: 3 18 19OK 20</data> 21<data1> 22HTTP/1.1 200 OK 23Connection: close 24Content-Length: 15 25Content-Range: bytes 50- 26 27Actual content 28</data1> 29 30<datacheck> 31HTTP/1.1 301 OK swsbounce 32Location: /%TESTNUMBER 33Content-Length: 3 34 35HTTP/1.1 200 OK 36Connection: close 37Content-Length: 15 38Content-Range: bytes 50- 39 40Actual content 41</datacheck> 42 43</reply> 44 45# Client-side 46<client> 47<server> 48http 49</server> 50<name> 51HTTP GET with resume and redirect 52</name> 53<command> 54http://%HOSTIP:%HTTPPORT/%TESTNUMBER -C 50 -L 55</command> 56</client> 57 58# Verify data after the test has been "shot" 59<verify> 60<protocol> 61GET /%TESTNUMBER HTTP/1.1 62Host: %HOSTIP:%HTTPPORT 63Range: bytes=50- 64User-Agent: curl/%VERSION 65Accept: */* 66 67GET /%TESTNUMBER HTTP/1.1 68Host: %HOSTIP:%HTTPPORT 69Range: bytes=50- 70User-Agent: curl/%VERSION 71Accept: */* 72 73</protocol> 74</verify> 75</testcase> 76