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