blob: 2e72ae48623fc22caa1623f81f38099c0857d6c0 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001<testcase>
2<info>
3<keywords>
4HTTP/0.9
5</keywords>
6</info>
7
8#
9# Server-side
10<reply>
11<data>
12o
13</data>
14<servercmd>
15swsclose
16</servercmd>
17</reply>
18
19#
20# Client-side
21<client>
22# hyper doesn't grok HTTP/0.9
23<features>
24!hyper
25</features>
26<server>
27http
28</server>
29 <name>
30HTTP GET with a single-byte HTTP/0.9 response
31 </name>
32 <command>
33http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
34</command>
35</client>
36
37#
38# Verify data after the test has been "shot"
39<verify>
40<protocol>
41GET /%TESTNUMBER HTTP/1.1
42Host: %HOSTIP:%HTTPPORT
43User-Agent: curl/%VERSION
44Accept: */*
45
46</protocol>
47</verify>
48</testcase>