]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test1043
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test1043
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 Resume
7 </keywords>
8 </info>
9
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 206 Partial Content\r
14 Date: Mon, 13 Nov 2007 13:41:09 GMT\r
15 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT\r
16 Accept-Ranges: bytes\r
17 Content-Length: 60\r
18 Content-Range: bytes 40-99/100\r
19 \r
20 012345678
21 012345678
22 012345678
23 012345678
24 012345678
25 012345678
26 </data>
27
28 # The file data that exists at the start of the test must be included in
29 # the verification.
30 <datacheck>
31 012345678
32 012345678
33 012345678
34 012345678
35 HTTP/1.1 206 Partial Content\r
36 Date: Mon, 13 Nov 2007 13:41:09 GMT\r
37 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT\r
38 Accept-Ranges: bytes\r
39 Content-Length: 60\r
40 Content-Range: bytes 40-99/100\r
41 \r
42 012345678
43 012345678
44 012345678
45 012345678
46 012345678
47 012345678
48 </datacheck>
49
50 </reply>
51
52 # Client-side
53 <client>
54 <server>
55 http
56 </server>
57  <name>
58 HTTP GET with resume from end of file
59  </name>
60  <command>
61 http://%HOSTIP:%HTTPPORT/1043 -C -
62 </command>
63 <file name="log/curl1043.out">
64 012345678
65 012345678
66 012345678
67 012345678
68 </file>
69 </client>
70
71 # Verify data after the test has been "shot"
72 <verify>
73 <strip>
74 ^User-Agent:.*
75 </strip>
76 <protocol>
77 GET /1043 HTTP/1.1\r
78 Range: bytes=40-\r
79 Host: %HOSTIP:%HTTPPORT\r
80 Accept: */*\r
81 \r
82 </protocol>
83 </verify>
84 </testcase>