Git init
[external/curl.git] / tests / data / test214
1 <testcase>
2 #
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
11
12 -foo-
13 </data>
14 </reply>
15
16 #
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>
29
30 #
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\r
38 Host: %HOSTIP:%HTTPPORT\r
39 Accept: */*\r
40 \r
41 </protocol>
42
43 </verify>
44 </testcase>