Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test57
blobab04c9c76a2fb20dd784511794e5e79cca55e9d8
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 --write-out
7 </keywords>
8 </info>
10 # Server-side
11 <reply>
12 <data nocheck="1">
13 HTTP/1.1 200 OK swsclose
14 Funny-head: yesyes
15 Content-Type: text/html; charset=ISO-8859-4   
17 </data>
18 </reply>
20 # Client-side
21 <client>
22 <server>
23 http
24 </server>
25  <name>
26 HTTP 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>
33 # Verify data after the test has been "shot"
34 <verify>
35 <stdout mode="text">
36 text/html; charset=ISO-8859-4
37 </stdout>
38 <strip>
39 ^User-Agent:.*
40 </strip>
41 <protocol>
42 GET /57 HTTP/1.1
43 Host: %HOSTIP:%HTTPPORT
44 Accept: */*
46 </protocol>
47 </verify>
48 </testcase>