1<testcase>
2<info>
3<keywords>
4HTTP
5</keywords>
6</info>
7#
8# Server-side
9<reply>
10<data>
11HTTP/1.0 200 OK
12Server: test-server/fake
13Content-Type: text/html
14Content-Length: 6
15
16blaha
17</data>
18</reply>
19
20#
21# Client-side
22<client>
23<server>
24http
25</server>
26 <name>
27HTTP multiple provided Host: headers
28 </name>
29 <command>
30-H "Host: host1" -H "Host: host2" -H "Host: host3" http://%HOSTIP:%HTTPPORT/1121
31</command>
32</client>
33
34#
35# Verify data after the test has been "shot"
36<verify>
37<strip>
38^User-Agent:.*
39</strip>
40<protocol>
41GET /1121 HTTP/1.1
42Accept: */*
43Host: host1
44Host: host2
45Host: host3
46
47</protocol>
48</verify>
49</testcase>
50