xref: /aosp_15_r20/external/curl/tests/data/test256 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
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 WorkerHTTP proxy
7*6236dae4SAndroid Build Coastguard WorkerResume
8*6236dae4SAndroid Build Coastguard WorkerFAILURE
9*6236dae4SAndroid Build Coastguard Worker</keywords>
10*6236dae4SAndroid Build Coastguard Worker</info>
11*6236dae4SAndroid Build Coastguard Worker# Server-side
12*6236dae4SAndroid Build Coastguard Worker<reply>
13*6236dae4SAndroid Build Coastguard Worker<data nocheck="yes">
14*6236dae4SAndroid Build Coastguard WorkerHTTP/1.0 200 Mooo
15*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 13 Nov 2000 13:41:09 GMT
16*6236dae4SAndroid Build Coastguard WorkerServer: myown/1.0
17*6236dae4SAndroid Build Coastguard WorkerConnection: close
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Workertodelooooo lalalala yada yada, we know nothing about ranges ;-)
20*6236dae4SAndroid Build Coastguard Worker</data>
21*6236dae4SAndroid Build Coastguard Worker</reply>
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard Worker# Client-side
24*6236dae4SAndroid Build Coastguard Worker<client>
25*6236dae4SAndroid Build Coastguard Worker<server>
26*6236dae4SAndroid Build Coastguard Workerhttp
27*6236dae4SAndroid Build Coastguard Worker</server>
28*6236dae4SAndroid Build Coastguard Worker<name>
29*6236dae4SAndroid Build Coastguard WorkerHTTP resume request over proxy with auth without server supporting it
30*6236dae4SAndroid Build Coastguard Worker</name>
31*6236dae4SAndroid Build Coastguard Worker <command option="no-output">
32*6236dae4SAndroid Build Coastguard Worker-x http://%HOSTIP:%HTTPPORT http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -C - --no-include -o %LOGDIR/fewl%TESTNUMBER.txt -U daniel:stenberg
33*6236dae4SAndroid Build Coastguard Worker</command>
34*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/fewl%TESTNUMBER.txt">
35*6236dae4SAndroid Build Coastguard WorkerThis text is here to simulate a partly downloaded file to resume
36*6236dae4SAndroid Build Coastguard Workerdownload on.
37*6236dae4SAndroid Build Coastguard Worker</file>
38*6236dae4SAndroid Build Coastguard Worker<features>
39*6236dae4SAndroid Build Coastguard Workerproxy
40*6236dae4SAndroid Build Coastguard Worker</features>
41*6236dae4SAndroid Build Coastguard Worker</client>
42*6236dae4SAndroid Build Coastguard Worker
43*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
44*6236dae4SAndroid Build Coastguard Worker<verify>
45*6236dae4SAndroid Build Coastguard Worker<errorcode>
46*6236dae4SAndroid Build Coastguard Worker33
47*6236dae4SAndroid Build Coastguard Worker</errorcode>
48*6236dae4SAndroid Build Coastguard Worker<protocol>
49*6236dae4SAndroid Build Coastguard WorkerGET http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER HTTP/1.1
50*6236dae4SAndroid Build Coastguard WorkerHost: %HOSTIP:%HTTPPORT
51*6236dae4SAndroid Build Coastguard WorkerProxy-Authorization: Basic ZGFuaWVsOnN0ZW5iZXJn
52*6236dae4SAndroid Build Coastguard WorkerRange: bytes=78-
53*6236dae4SAndroid Build Coastguard WorkerUser-Agent: curl/%VERSION
54*6236dae4SAndroid Build Coastguard WorkerAccept: */*
55*6236dae4SAndroid Build Coastguard WorkerProxy-Connection: Keep-Alive
56*6236dae4SAndroid Build Coastguard Worker
57*6236dae4SAndroid Build Coastguard Worker</protocol>
58*6236dae4SAndroid Build Coastguard Worker
59*6236dae4SAndroid Build Coastguard Worker# the download target file must remain untouched
60*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/fewl%TESTNUMBER.txt">
61*6236dae4SAndroid Build Coastguard WorkerThis text is here to simulate a partly downloaded file to resume
62*6236dae4SAndroid Build Coastguard Workerdownload on.
63*6236dae4SAndroid Build Coastguard Worker</file>
64*6236dae4SAndroid Build Coastguard Worker</verify>
65*6236dae4SAndroid Build Coastguard Worker</testcase>
66