mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
5c26764cd5
Closes #7905
49 lines
591 B
Plaintext
49 lines
591 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP/0.9
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
o
|
|
</data>
|
|
<servercmd>
|
|
swsclose
|
|
</servercmd>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
# hyper doesn't grok HTTP/0.9
|
|
<features>
|
|
!hyper
|
|
</features>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
HTTP GET with a single-byte HTTP/0.9 response
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
GET /%TESTNUMBER HTTP/1.1
|
|
Host: %HOSTIP:%HTTPPORT
|
|
User-Agent: curl/%VERSION
|
|
Accept: */*
|
|
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|