Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test194
blobd7350edcda2f7f1727a75f7de7f85c125d0e1ab4
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 swsclose
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
23 Connection: close
25 </data>
27 </reply>
29 # Client-side
30 <client>
31 <server>
32 http
33 </server>
34  <name>
35 HTTP resume transfer with the whole file already downloaded and --fail
36  </name>
37  <command>
38 http://%HOSTIP:%HTTPPORT/want/194 -C 87 --fail
39 </command>
40 </client>
42 # Verify data after the test has been "shot"
43 <verify>
44 <strip>
45 ^User-Agent:.*
46 </strip>
47 <protocol>
48 GET /want/194 HTTP/1.1
49 Range: bytes=87-
50 Host: %HOSTIP:%HTTPPORT
51 Accept: */*
53 </protocol>
55 </verify>
56 </testcase>