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