]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test38
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test38
1 # Server-side
2 <reply>
3 <data nocheck=1>
4 HTTP/1.0 200 Mooo
5 Date: Mon, 13 Nov 2000 13:41:09 GMT
6 Server: myown/1.0
7 Connection: close
8
9 todelooooo lalalala yada yada, we know nothing about ranges ;-)
10 </data>
11 </reply>
12
13 # Client-side
14 <client>
15 <server>
16 http
17 </server>
18  <name>
19 HTTP resume request without server supporting it
20  </name>
21  <command option="no-output">
22 http://%HOSTIP:%HOSTPORT/want/38 -C - -i -o log/fewl.txt
23 </command>
24 <file name="log/fewl.txt">
25 This text is here to simulate a partly downloaded file to resume
26 download on.
27 </file>
28 </client>
29
30 # Verify data after the test has been "shot"
31 <verify>
32 <errorcode>
33 33
34 </errorcode>
35 <strip>
36 ^User-Agent:.*
37 </strip>
38 <protocol>
39 GET /want/38 HTTP/1.1
40 Range: bytes=78-
41 Host: 127.0.0.1:8999
42 Pragma: no-cache
43 Accept: */*
44
45 </protocol>
46
47 # the download target file must remain untouched
48 <file name="log/fewl.txt">
49 This text is here to simulate a partly downloaded file to resume
50 download on.
51 </file>
52 </verify>