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