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