xref: /curl/tests/data/test1144 (revision fc3e1cbc)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP HEAD
6HTTP/0.9
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14No headers at all, just data swsclose
15
16Let's get
17
18a little
19
20so that
21
22we
23
24have
25
26some
27
28test
29
30data to
31
32verify
33</data>
34# make sure no data is written
35<datacheck nonewline="yes">
36
37</datacheck>
38</reply>
39
40#
41# Client-side
42<client>
43<server>
44http
45</server>
46<name>
47HTTP HEAD, receive no headers only body
48</name>
49<command>
50-I http://%HOSTIP:%HTTPPORT/%TESTNUMBER --http0.9
51</command>
52</client>
53
54#
55# Verify data after the test has been "shot"
56<verify>
57<protocol>
58HEAD /%TESTNUMBER HTTP/1.1
59Host: %HOSTIP:%HTTPPORT
60User-Agent: curl/%VERSION
61Accept: */*
62
63</protocol>
64<errorcode>
658
66</errorcode>
67</verify>
68</testcase>
69