Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test214
blobb4c2852af7e325c66fdf988655f12ba945c27483
1 <testcase>
3 # Server-side
4 <reply>
5 <data>
6 HTTP/1.1 200 OK
7 Date: Thu, 09 Nov 2010 14:49:00 GMT
8 Content-Length: 6
9 Content-Type: text/html
10 Funny-head: yesyes
12 -foo-
13 </data>
14 </reply>
17 # Client-side
18 <client>
19 <server>
20 http
21 </server>
22  <name>
23 HTTP URL with escaped { and }
24  </name>
25 <command>
26 "http://%HOSTIP:%HTTPPORT/\{\}\/214"
27 </command>
28 </client>
31 # Verify data after the test has been "shot"
32 <verify>
33 <strip>
34 ^User-Agent:.*
35 </strip>
36 <protocol>
37 GET /{}\/214 HTTP/1.1
38 Host: %HOSTIP:%HTTPPORT
39 Accept: */*
41 </protocol>
43 </verify>
44 </testcase>