2007-01-23 05:25:56 +03:00
|
|
|
<testcase>
|
2012-11-19 20:54:52 +04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2004-07-17 01:00:50 +04:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
HTTP/1.1 200 OK swsclose
|
|
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
|
|
|
Content-Length: -6
|
|
|
|
Content-Type: text/html
|
|
|
|
Funny-head: yesyes
|
|
|
|
|
|
|
|
moooooooooooo
|
|
|
|
</data>
|
2018-01-09 07:24:48 +03:00
|
|
|
<datacheck>
|
|
|
|
HTTP/1.1 200 OK swsclose
|
|
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
|
|
|
</datacheck>
|
2004-07-17 01:00:50 +04:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
2018-01-09 07:24:48 +03:00
|
|
|
HTTP response with negative Content-Length
|
2004-07-17 01:00:50 +04:00
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 12:08:38 +04:00
|
|
|
http://%HOSTIP:%HTTPPORT/178
|
2004-07-17 01:00:50 +04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
GET /178 HTTP/1.1
|
2007-09-14 23:32:31 +04:00
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 14:45:24 +03:00
|
|
|
User-Agent: curl/%VERSION
|
2004-07-17 01:00:50 +04:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
2018-01-09 07:24:48 +03:00
|
|
|
<errorcode>
|
|
|
|
8
|
|
|
|
</errorcode>
|
2004-07-17 01:00:50 +04:00
|
|
|
</verify>
|
2007-01-23 05:25:56 +03:00
|
|
|
</testcase>
|