1<testcase> 2<info> 3<keywords> 4HTTP 5HTTP GET 6HTTP proxy 7Resume 8FAILURE 9</keywords> 10</info> 11# Server-side 12<reply> 13<data nocheck="yes"> 14HTTP/1.0 200 Mooo 15Date: Mon, 13 Nov 2000 13:41:09 GMT 16Server: myown/1.0 17Connection: close 18 19todelooooo lalalala yada yada, we know nothing about ranges ;-) 20</data> 21</reply> 22 23# Client-side 24<client> 25<server> 26http 27</server> 28 <name> 29HTTP resume request over proxy with auth without server supporting it 30 </name> 31 <command option="no-output"> 32-x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/256 -C - --no-include -o log/fewl.txt -U daniel:stenberg 33</command> 34<file name="log/fewl.txt"> 35This text is here to simulate a partly downloaded file to resume 36download on. 37</file> 38</client> 39 40# Verify data after the test has been "shot" 41<verify> 42<errorcode> 4333 44</errorcode> 45<strip> 46^User-Agent:.* 47</strip> 48<protocol> 49GET http://%HOSTIP:%HTTPPORT/want/256 HTTP/1.1 50Host: %HOSTIP:%HTTPPORT 51Proxy-Authorization: Basic ZGFuaWVsOnN0ZW5iZXJn 52Range: bytes=78- 53Accept: */* 54Proxy-Connection: Keep-Alive 55 56</protocol> 57 58# the download target file must remain untouched 59<file name="log/fewl.txt"> 60This text is here to simulate a partly downloaded file to resume 61download on. 62</file> 63</verify> 64</testcase> 65