Imported Upstream version 7.50.2
[platform/upstream/curl.git] / tests / data / test1144
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP HEAD
6 </keywords>
7 </info>
8
9 #
10 # Server-side
11 <reply>
12 <data>
13 No headers at all, just data swsclose
14
15 Let's get
16
17 a little
18
19 so that
20
21 we
22
23 have
24
25 some
26
27 test
28
29 data to
30
31 verify
32 </data>
33 </reply>
34
35 #
36 # Client-side
37 <client>
38 <server>
39 http
40 </server>
41  <name>
42 HTTP HEAD, receive no headers only body
43  </name>
44  <command>
45 -I http://%HOSTIP:%HTTPPORT/1144
46 </command>
47 </client>
48
49 #
50 # Verify data after the test has been "shot"
51 <verify>
52 <strip>
53 ^User-Agent:.*
54 </strip>
55 <protocol>
56 HEAD /1144 HTTP/1.1\r
57 Host: %HOSTIP:%HTTPPORT\r
58 Accept: */*\r
59 \r
60 </protocol>
61 </verify>
62 </testcase>