113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciHTTP
513498266Sopenharmony_ciHTTP GET
613498266Sopenharmony_ciHTTP proxy
713498266Sopenharmony_ciResume
813498266Sopenharmony_ciFAILURE
913498266Sopenharmony_ci</keywords>
1013498266Sopenharmony_ci</info>
1113498266Sopenharmony_ci# Server-side
1213498266Sopenharmony_ci<reply>
1313498266Sopenharmony_ci<data nocheck="yes">
1413498266Sopenharmony_ciHTTP/1.0 200 Mooo
1513498266Sopenharmony_ciDate: Mon, 13 Nov 2000 13:41:09 GMT
1613498266Sopenharmony_ciServer: myown/1.0
1713498266Sopenharmony_ciConnection: close
1813498266Sopenharmony_ci
1913498266Sopenharmony_citodelooooo lalalala yada yada, we know nothing about ranges ;-)
2013498266Sopenharmony_ci</data>
2113498266Sopenharmony_ci</reply>
2213498266Sopenharmony_ci
2313498266Sopenharmony_ci# Client-side
2413498266Sopenharmony_ci<client>
2513498266Sopenharmony_ci<server>
2613498266Sopenharmony_cihttp
2713498266Sopenharmony_ci</server>
2813498266Sopenharmony_ci<name>
2913498266Sopenharmony_ciHTTP resume request over proxy with auth without server supporting it
3013498266Sopenharmony_ci</name>
3113498266Sopenharmony_ci <command option="no-output">
3213498266Sopenharmony_ci-x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o %LOGDIR/fewl%TESTNUMBER.txt -U daniel:stenberg
3313498266Sopenharmony_ci</command>
3413498266Sopenharmony_ci<file name="%LOGDIR/fewl%TESTNUMBER.txt">
3513498266Sopenharmony_ciThis text is here to simulate a partly downloaded file to resume
3613498266Sopenharmony_cidownload on.
3713498266Sopenharmony_ci</file>
3813498266Sopenharmony_ci<features>
3913498266Sopenharmony_ciproxy
4013498266Sopenharmony_ci</features>
4113498266Sopenharmony_ci</client>
4213498266Sopenharmony_ci
4313498266Sopenharmony_ci# Verify data after the test has been "shot"
4413498266Sopenharmony_ci<verify>
4513498266Sopenharmony_ci<errorcode>
4613498266Sopenharmony_ci33
4713498266Sopenharmony_ci</errorcode>
4813498266Sopenharmony_ci<protocol>
4913498266Sopenharmony_ciGET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1
5013498266Sopenharmony_ciHost: %HOSTIP:%HTTPPORT
5113498266Sopenharmony_ciProxy-Authorization: Basic ZGFuaWVsOnN0ZW5iZXJn
5213498266Sopenharmony_ciRange: bytes=78-
5313498266Sopenharmony_ciUser-Agent: curl/%VERSION
5413498266Sopenharmony_ciAccept: */*
5513498266Sopenharmony_ciProxy-Connection: Keep-Alive
5613498266Sopenharmony_ci
5713498266Sopenharmony_ci</protocol>
5813498266Sopenharmony_ci
5913498266Sopenharmony_ci# the download target file must remain untouched
6013498266Sopenharmony_ci<file name="%LOGDIR/fewl%TESTNUMBER.txt">
6113498266Sopenharmony_ciThis text is here to simulate a partly downloaded file to resume
6213498266Sopenharmony_cidownload on.
6313498266Sopenharmony_ci</file>
6413498266Sopenharmony_ci</verify>
6513498266Sopenharmony_ci</testcase>
66