]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test36
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test36
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 chunked Transfer-Encoding
7 FAILURE
8 </keywords>
9 </info>
10 #
11 # Server-side
12 <reply>
13 <data>
14 HTTP/1.1 200 funky chunky!
15 Server: fakeit/0.9 fakeitbad/1.0
16 Transfer-Encoding: chunked
17 Connection: mooo
18
19 2\r
20 a
21 \r
22 ILLEGAL\r
23 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\r
24 </data>
25 <datacheck>
26 HTTP/1.1 200 funky chunky!
27 Server: fakeit/0.9 fakeitbad/1.0
28 Transfer-Encoding: chunked
29 Connection: mooo
30
31 a
32 </datacheck>
33 </reply>
34
35 #
36 # Client-side
37 <client>
38 <server>
39 http
40 </server>
41  <name>
42 HTTP GET with bad chunked Transfer-Encoding
43  </name>
44  <command>
45 http://%HOSTIP:%HTTPPORT/36
46 </command>
47 </client>
48
49 #
50 # Verify data after the test has been "shot"
51 <verify>
52 <errorcode>
53 56
54 </errorcode>
55 <strip>
56 ^User-Agent:.*
57 </strip>
58 <protocol>
59 GET /36 HTTP/1.1\r
60 Host: %HOSTIP:%HTTPPORT\r
61 Accept: */*\r
62 \r
63 </protocol>
64 </verify>
65
66 </testcase>