t7x/deps/curl/tests/data/test1267

49 lines
597 B
Plaintext
Raw Normal View History

2023-12-06 17:43:39 -05:00
<testcase>
<info>
<keywords>
HTTP/0.9
</keywords>
</info>
#
# Server-side
<reply>
<data>
HTTPr
</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 invalid HTTP/1 response line start
</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>