1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6--write-out
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<data nocheck="yes">
13HTTP/1.1 200 OK swsclose
14Funny-head: yesyes
15Content-Type: text/html; charset=ISO-8859-4
16
17</data>
18</reply>
19
20# Client-side
21<client>
22<server>
23http
24</server>
25 <name>
26HTTP content-type with spaces in
27 </name>
28 <command>
29-w "%{content_type}\n" http://%HOSTIP:%HTTPPORT/57 -o log/out57
30</command>
31</client>
32
33# Verify data after the test has been "shot"
34<verify>
35<stdout mode="text">
36text/html; charset=ISO-8859-4
37</stdout>
38<strip>
39^User-Agent:.*
40</strip>
41<protocol>
42GET /57 HTTP/1.1
43Host: %HOSTIP:%HTTPPORT
44Accept: */*
45
46</protocol>
47</verify>
48</testcase>
49