2007-01-22 21:25:56 -05:00
|
|
|
<testcase>
|
2012-11-13 08:02:42 -05:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2014-04-03 05:46:13 -04:00
|
|
|
CURLE_PARTIAL_FILE
|
|
|
|
FAILURE
|
2017-05-13 16:35:15 -04:00
|
|
|
chunked Transfer-Encoding
|
2012-11-13 08:02:42 -05:00
|
|
|
</keywords>
|
|
|
|
</info>
|
2004-12-03 04:31:25 -05:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 funky chunky! swsclose
|
|
|
|
Server: fakeit/0.9 fakeitbad/1.0
|
|
|
|
Transfer-Encoding: chunked
|
|
|
|
Connection: mooo
|
|
|
|
|
|
|
|
41
|
|
|
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
|
|
|
|
|
|
</data>
|
|
|
|
<datacheck>
|
|
|
|
HTTP/1.1 200 funky chunky! swsclose
|
|
|
|
Server: fakeit/0.9 fakeitbad/1.0
|
|
|
|
Transfer-Encoding: chunked
|
|
|
|
Connection: mooo
|
|
|
|
|
|
|
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
|
|
</datacheck>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
2017-05-13 16:35:15 -04:00
|
|
|
HTTP GET with chunked Transfer-Encoding closed prematurely
|
2004-12-03 04:31:25 -05:00
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 11:38:26 -05:00
|
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
2004-12-03 04:31:25 -05:00
|
|
|
</command>
|
2005-01-25 16:45:03 -05:00
|
|
|
</client>
|
2004-12-03 04:31:25 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2021-03-12 11:38:26 -05:00
|
|
|
GET /%TESTNUMBER HTTP/1.1
|
2007-09-14 15:32:31 -04:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2004-12-03 04:31:25 -05:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
|
|
|
|
# curl: (18) transfer closed with outstanding read data remaining
|
|
|
|
# 18 == CURLE_PARTIAL_FILE
|
|
|
|
<errorcode>
|
|
|
|
18
|
|
|
|
</errorcode>
|
|
|
|
</verify>
|
2007-01-22 21:25:56 -05:00
|
|
|
</testcase>
|