xref: /curl/tests/data/test36 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6chunked Transfer-Encoding
7FAILURE
8</keywords>
9</info>
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 funky chunky!
15Server: fakeit/0.9 fakeitbad/1.0
16Transfer-Encoding: chunked
17Connection: mooo
18
192
20a
21
22ILLEGAL
23bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
24</data>
25<datacheck>
26HTTP/1.1 200 funky chunky!
27Server: fakeit/0.9 fakeitbad/1.0
28Transfer-Encoding: chunked
29Connection: mooo
30
31a
32</datacheck>
33</reply>
34
35#
36# Client-side
37<client>
38<server>
39http
40</server>
41<name>
42HTTP GET with bad chunked Transfer-Encoding
43</name>
44<command>
45http://%HOSTIP:%HTTPPORT/%TESTNUMBER
46</command>
47</client>
48
49#
50# Verify data after the test has been "shot"
51<verify>
52<errorcode>
5356
54</errorcode>
55<protocol>
56GET /%TESTNUMBER HTTP/1.1
57Host: %HOSTIP:%HTTPPORT
58User-Agent: curl/%VERSION
59Accept: */*
60
61</protocol>
62</verify>
63
64</testcase>
65