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/36
46</command>
47</client>
48
49#
50# Verify data after the test has been "shot"
51<verify>
52<errorcode>
5356
54</errorcode>
55<strip>
56^User-Agent:.*
57</strip>
58<protocol>
59GET /36 HTTP/1.1
60Host: %HOSTIP:%HTTPPORT
61Accept: */*
62
63</protocol>
64</verify>
65
66</testcase>
67