xref: /curl/tests/data/test14 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP HEAD
6</keywords>
7</info>
8# Server-side
9<reply>
10<data>
11HTTP/1.1 200 OK
12Server: thebest/1.0
13Connection: close
14
15</data>
16</reply>
17
18# Client-side
19<client>
20<server>
21http
22</server>
23<name>
24HTTP HEAD with Connection: close
25</name>
26<command>
27http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -i --head
28</command>
29</client>
30
31# Verify data after the test has been "shot"
32<verify>
33<protocol>
34HEAD /want/%TESTNUMBER HTTP/1.1
35Host: %HOSTIP:%HTTPPORT
36User-Agent: curl/%VERSION
37Accept: */*
38
39</protocol>
40</verify>
41</testcase>
42