]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test92
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test92
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 416 Requested Range Not Satisfiable
5 Date: Fri, 24 Oct 2003 21:33:12 GMT
6 Server: Apache/1.3.19 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.3.1
7 Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT
8 ETag: "ab57a-507-3f9968f3"
9 Accept-Ranges: bytes
10 Content-Length: 87
11 Content-Range: bytes */87
12 Content-Type: image/gif
13
14 </data>
15 </reply>
16
17 # Client-side
18 <client>
19 <server>
20 http
21 </server>
22  <name>
23 HTTP resume transfer with the whole file already downloaded
24  </name>
25  <command>
26 http://%HOSTIP:%HOSTPORT/want/92 -C 87
27 </command>
28 </client>
29
30 # Verify data after the test has been "shot"
31 <verify>
32 <strip>
33 ^User-Agent:.*
34 </strip>
35 <protocol>
36 GET /want/92 HTTP/1.1
37 Range: bytes=87-
38 Host: 127.0.0.1:8999
39 Pragma: no-cache
40 Accept: */*
41
42 </protocol>
43
44 </verify>