]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test514
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test514
1 <testcase>
2 #
3 # Server-side
4 <reply>
5 <data mode="text">
6 HTTP/1.1 200 OK
7 Date: Thu, 09 Nov 2010 14:49:00 GMT
8 Server: test-server/fake
9 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
10 ETag: "21025-dc7-39462498"
11 Accept-Ranges: bytes
12 Content-Length: 6
13 Connection: close
14 Content-Type: text/html
15 Funny-head: yesyes
16
17 </data>
18 </reply>
19
20 #
21 # Client-side
22 <client>
23 <server>
24 http
25 </server>
26 <tool>
27 lib514
28 </tool>
29  <name>
30 First set options to POST and then to make HEAD
31  </name>
32 # the 1s post-command delay helps to prevent a spurious failure on s390
33  <command delay="1">
34 http://%HOSTIP:%HTTPPORT/514
35 </command>
36 </client>
37
38 #
39 # Verify data after the test has been "shot"
40 <verify>
41 <strip>
42 ^User-Agent:.*
43 </strip>
44 <protocol>
45 HEAD /514 HTTP/1.1\r
46 Host: %HOSTIP:%HTTPPORT\r
47 Accept: */*\r
48 \r
49 </protocol>
50 </verify>
51 </testcase>