]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test194
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test194
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 Content-Range
7 Resume
8 </keywords>
9 </info>
10
11 # Server-side
12 <reply>
13 <data>
14 HTTP/1.1 416 Requested Range Not Satisfiable swsclose\r
15 Date: Fri, 24 Oct 2003 21:33:12 GMT\r
16 Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.3.1\r
17 Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT\r
18 ETag: "ab57a-507-3f9968f3"\r
19 Accept-Ranges: bytes\r
20 Content-Length: 4\r
21 Content-Range: bytes */87\r
22 Content-Type: image/gif\r
23 Connection: close\r
24 \r
25 bad
26 </data>
27
28 </reply>
29
30 # Client-side
31 <client>
32 <server>
33 http
34 </server>
35  <name>
36 HTTP resume transfer with the whole file already downloaded and --fail
37  </name>
38  <command>
39 http://%HOSTIP:%HTTPPORT/want/194 -C 87 --fail
40 </command>
41 </client>
42
43 # Verify data after the test has been "shot"
44 <verify>
45 <strip>
46 ^User-Agent:.*
47 </strip>
48 <protocol>
49 GET /want/194 HTTP/1.1\r
50 Range: bytes=87-\r
51 Host: %HOSTIP:%HTTPPORT\r
52 Accept: */*\r
53 \r
54 </protocol>
55
56 </verify>
57 </testcase>