]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test198
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test198
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 </keywords>
7 </info>
8 #
9 # Server-side
10 <reply>
11 <data>
12 HTTP/1.1 503 OK swsbounce
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Content-Length: 21
15
16 server not available
17 </data>
18 <data1>
19 HTTP/1.1 200 OK
20 Date: Thu, 09 Nov 2010 14:49:00 GMT
21 Content-Length: 3
22 Connection: close
23
24 ok
25 </data1>
26
27 <datacheck>
28 HTTP/1.1 200 OK
29 Date: Thu, 09 Nov 2010 14:49:00 GMT
30 Content-Length: 3
31 Connection: close
32
33 ok
34 </datacheck>
35
36 </reply>
37
38 #
39 # Client-side
40 <client>
41 <server>
42 http
43 </server>
44  <name>
45 HTTP GET --retry on 503 error with output to file
46  </name>
47  <command>
48 http://%HOSTIP:%HTTPPORT/198 --retry 1000
49 </command>
50 </client>
51
52 #
53 # Verify data after the test has been "shot"
54 <verify>
55 <strip>
56 ^User-Agent:.*
57 </strip>
58 <protocol>
59 GET /198 HTTP/1.1\r
60 Host: %HOSTIP:%HTTPPORT\r
61 Accept: */*\r
62 \r
63 GET /198 HTTP/1.1\r
64 Host: %HOSTIP:%HTTPPORT\r
65 Accept: */*\r
66 \r
67 </protocol>
68
69 </verify>
70 </testcase>