]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test57
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test57
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 200 OK swsclose
5 Funny-head: yesyes
6 Content-Type: text/html; charset=ISO-8859-4   
7
8 </data>
9 </reply>
10
11 # Client-side
12 <client>
13 <server>
14 http
15 </server>
16  <name>
17 HTTP content-type with spaces in
18  </name>
19  <command>
20 -w '%{content_type}\n' %HOSTIP:%HOSTPORT/57 -o log/out57
21 </command>
22 </test>
23
24 # Verify data after the test has been "shot"
25 <verify>
26 <file name="log/out57">
27 text/html; charset=ISO-8859-4
28 </file>
29 <strip>
30 ^User-Agent:.*
31 </strip>
32 <protocol>
33 GET /57 HTTP/1.1
34 Host: 127.0.0.1:8999
35 Pragma: no-cache
36 Accept: */*
37
38 </protocol>
39 </verify>