mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
65 lines
644 B
Plaintext
65 lines
644 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/%TESTNUMBER --http0.9
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
GET /%TESTNUMBER HTTP/1.1
|
|
Host: %HOSTIP:%HTTPSPORT
|
|
User-Agent: curl/%VERSION
|
|
Accept: */*
|
|
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|