]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test584
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test584
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 pipelining
6 multi
7 </keywords>
8 </info>
9
10 # Server-side
11 # Silly division of the first request is solely to appease the server which expects n_data_items == n_requests
12 <reply>
13 <data1>
14 HTTP/1.1 200 OK
15 Server: test-server/fake
16 Content-Length: 4
17
18 584
19 </data1>
20 <data2>
21 HTTP/1.1 200 OK
22 </data2>
23 <data3>
24 Server: test-server/fake
25 </data3>
26 <data4>
27 Content-Length: 0
28
29 HTTP/1.1 200 OK
30 Server: test-server/fake
31 Content-Length: 5
32
33 585
34
35 HTTP/1.1 200 OK
36 Server: test-server/fake
37 Content-Length: 4
38
39 586
40 </data4>
41 </reply>
42
43 # Client-side
44 <client>
45 <server>
46 http
47 </server>
48 <tool>
49 lib530
50 </tool>
51  <name>
52 HTTP GET using pipelining (nonzero length after zero length)
53  </name>
54  <command>
55 http://%HOSTIP:%HTTPPORT/path/584
56 </command>
57 </client>
58
59 # Verify data after the test has been "shot"
60 <verify>
61 <protocol>
62 GET /path/5840001 HTTP/1.1\r
63 Host: %HOSTIP:%HTTPPORT\r
64 Accept: */*\r
65 \r
66 GET /path/5840002 HTTP/1.1\r
67 Host: %HOSTIP:%HTTPPORT\r
68 Accept: */*\r
69 \r
70 GET /path/5840003 HTTP/1.1\r
71 Host: %HOSTIP:%HTTPPORT\r
72 Accept: */*\r
73 \r
74 GET /path/5840004 HTTP/1.1\r
75 Host: %HOSTIP:%HTTPPORT\r
76 Accept: */*\r
77 \r
78 </protocol>
79 <stdout mode="text">
80 HTTP/1.1 200 OK
81 Server: test-server/fake
82 Content-Length: 4
83
84 584
85 HTTP/1.1 200 OK
86 Server: test-server/fake
87 Content-Length: 0
88
89 HTTP/1.1 200 OK
90 Server: test-server/fake
91 Content-Length: 5
92
93 585
94
95 HTTP/1.1 200 OK
96 Server: test-server/fake
97 Content-Length: 4
98
99 586
100 </stdout>
101 </verify>
102 </testcase>