2016-08-18 05:44:45 -04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP HEAD
|
2018-12-17 09:46:56 -05:00
|
|
|
HTTP/0.9
|
2016-08-18 05:44:45 -04:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
No headers at all, just data swsclose
|
|
|
|
|
|
|
|
Let's get
|
|
|
|
|
|
|
|
a little
|
|
|
|
|
|
|
|
so that
|
|
|
|
|
|
|
|
we
|
|
|
|
|
|
|
|
have
|
|
|
|
|
|
|
|
some
|
|
|
|
|
|
|
|
test
|
|
|
|
|
|
|
|
data to
|
|
|
|
|
|
|
|
verify
|
|
|
|
</data>
|
2016-09-09 09:57:44 -04:00
|
|
|
# make sure no data is written
|
|
|
|
<datacheck nonewline="yes">
|
|
|
|
|
|
|
|
</datacheck>
|
2016-08-18 05:44:45 -04:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
HTTP HEAD, receive no headers only body
|
|
|
|
</name>
|
|
|
|
<command>
|
2018-12-17 09:46:56 -05:00
|
|
|
-I http://%HOSTIP:%HTTPPORT/1144 --http0.9
|
2016-08-18 05:44:45 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
HEAD /1144 HTTP/1.1
|
|
|
|
Host: %HOSTIP:%HTTPPORT
|
2020-10-02 07:45:24 -04:00
|
|
|
User-Agent: curl/%VERSION
|
2016-08-18 05:44:45 -04:00
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
</protocol>
|
2016-09-09 09:57:44 -04:00
|
|
|
<errorcode>
|
|
|
|
8
|
|
|
|
</errorcode>
|
2016-08-18 05:44:45 -04:00
|
|
|
</verify>
|
|
|
|
</testcase>
|