• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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<protocol>
39GET /57 HTTP/1.1
40Host: %HOSTIP:%HTTPPORT
41User-Agent: curl/%VERSION
42Accept: */*
43
44</protocol>
45</verify>
46</testcase>
47