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