1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8#
9# Server-side
10<reply>
11<data>
12HTTP/1.1 200 funky chunky! swsclose
13Server: fakeit/0.9 fakeitbad/1.0
14Transfer-Encoding: chunked
15Connection: mooo
16
1741
18aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
19
20</data>
21<datacheck>
22HTTP/1.1 200 funky chunky! swsclose
23Server: fakeit/0.9 fakeitbad/1.0
24Transfer-Encoding: chunked
25Connection: mooo
26
27aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
28</datacheck>
29</reply>
30
31#
32# Client-side
33<client>
34<server>
35http
36</server>
37 <name>
38HTTP GET with chunked Transfer-Encoding closed pre-maturely
39 </name>
40 <command>
41http://%HOSTIP:%HTTPPORT/207
42</command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48<strip>
49^User-Agent:.*
50</strip>
51<protocol>
52GET /207 HTTP/1.1
53Host: %HOSTIP:%HTTPPORT
54Accept: */*
55
56</protocol>
57
58# curl: (18) transfer closed with outstanding read data remaining
59# 18 == CURLE_PARTIAL_FILE
60<errorcode>
6118
62</errorcode>
63</verify>
64</testcase>
65