Debian Codegraph @

curl/tests/data/test214

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