]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test1066
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test1066
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 </keywords>
7 </info>
8
9 # Server-side
10 <reply>
11 <data nocheck="yes">
12 HTTP/1.1 200 OK\r
13 Server: thebest/1.0\r
14 Content-Type: text/plain\r
15 Content-Length: 6\r
16 \r
17 first
18 </data>
19 <data1 nocheck="yes">
20 HTTP/1.1 200 OK\r
21 Server: thebest/1.0\r
22 Content-Type: text/plain\r
23 Content-Length: 7\r
24 \r
25 second
26 </data1>
27 </reply>
28
29 # Client-side
30 <client>
31 <server>
32 http
33 </server>
34  <name>
35 HTTP --dump-header - with two URLs
36  </name>
37  <command>
38 http://%HOSTIP:%HTTPPORT/want/1066 http://%HOSTIP:%HTTPPORT/want/10660001 --dump-header -
39 </command>
40 </client>
41
42 # Verify data after the test has been "shot"
43 <verify>
44 <strip>
45 ^User-Agent:.*
46 </strip>
47 <protocol>
48 GET /want/1066 HTTP/1.1\r
49 Host: %HOSTIP:%HTTPPORT\r
50 Accept: */*\r
51 \r
52 GET /want/10660001 HTTP/1.1\r
53 Host: %HOSTIP:%HTTPPORT\r
54 Accept: */*\r
55 \r
56 </protocol>
57 <stdout>
58 HTTP/1.1 200 OK\r
59 HTTP/1.1 200 OK\r
60 Server: thebest/1.0\r
61 Server: thebest/1.0\r
62 Content-Type: text/plain\r
63 Content-Type: text/plain\r
64 Content-Length: 6\r
65 Content-Length: 6\r
66 \r
67 \r
68 first
69 HTTP/1.1 200 OK\r
70 HTTP/1.1 200 OK\r
71 Server: thebest/1.0\r
72 Server: thebest/1.0\r
73 Content-Type: text/plain\r
74 Content-Type: text/plain\r
75 Content-Length: 7\r
76 Content-Length: 7\r
77 \r
78 \r
79 second
80 </stdout>
81 </verify>
82 </testcase>