xref: /curl/tests/data/test34 (revision 3fd80c7b)
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/%TESTNUMBER
49</command>
50</client>
51
52#
53# Verify data after the test has been "shot"
54<verify>
55<protocol>
56GET /%TESTNUMBER HTTP/1.1
57Host: %HOSTIP:%HTTPPORT
58User-Agent: curl/%VERSION
59Accept: */*
60
61</protocol>
62</verify>
63
64</testcase>
65