curl/tests/data/test306
Daniel Stenberg 25837e32b0
test306: make it not run with Hyper
... as it tests HTTP/0.9 which Hyper doesn't support.
2021-03-11 22:43:09 +01:00

65 lines
628 B
Plaintext

<testcase>
<info>
<keywords>
HTTPS
HTTP GET
</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>
</reply>
#
# Client-side
<client>
<features>
SSL
!hyper
</features>
<server>
https
</server>
<name>
HTTPS GET, receive no headers only data!
</name>
<command>
-k https://%HOSTIP:%HTTPSPORT/306 --http0.9
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
GET /306 HTTP/1.1
Host: %HOSTIP:%HTTPSPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
</verify>
</testcase>