1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6chunked Transfer-Encoding
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 funky chunky!
14Server: fakeit/0.9 fakeitbad/1.0
15Transfer-Encoding: chunked
16Connection: mooo
17
1840
19aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2030
21bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2221;heresatest=moooo
23cccccccccccccccccccccccccccccccc
24
250
26
27</data>
28<datacheck>
29HTTP/1.1 200 funky chunky!
30Server: fakeit/0.9 fakeitbad/1.0
31Transfer-Encoding: chunked
32Connection: mooo
33
34aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc
35</datacheck>
36</reply>
37
38#
39# Client-side
40<client>
41<server>
42http
43</server>
44 <name>
45HTTP GET with chunked Transfer-Encoding
46 </name>
47 <command>
48http://%HOSTIP:%HTTPPORT/34
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>
59GET /34 HTTP/1.1
60Host: %HOSTIP:%HTTPPORT
61Accept: */*
62
63</protocol>
64</verify>
65
66</testcase>
67