]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test29
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test29
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 timeout
7 FAILURE
8 </keywords>
9 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 200 OK swsclose\r
14 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
15 Connection: close\r
16 \r
17 _data_result_data_
18 </data>
19 <postcmd>
20 wait 10
21 </postcmd>
22 </reply>
23
24 # Client-side
25 <client>
26 <server>
27 http
28 </server>
29  <name>
30 HTTP with 2 secs timeout
31  </name>
32  <command>
33 http://%HOSTIP:%HTTPPORT/want/29 -m 2
34 </command>
35 </client>
36
37 # Verify data after the test has been "shot"
38 <verify>
39 <strip>
40 ^User-Agent:.*
41 </strip>
42 <protocol>
43 GET /want/29 HTTP/1.1\r
44 Host: %HOSTIP:%HTTPPORT\r
45 Accept: */*\r
46 \r
47 </protocol>
48 <errorcode>
49 28
50 </errorcode>
51 </verify>
52 </testcase>