repo.or.cz
/
CMakeLuaTailorHgBridge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Resync
[CMakeLuaTailorHgBridge.git]
/
CMakeLua
/
Utilities
/
cmcurl-7.19.0
/
tests
/
data
/
test214
blob
b4c2852af7e325c66fdf988655f12ba945c27483
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
38
Host: %HOSTIP:%HTTPPORT
39
Accept: */*
40
41
</protocol>
42
43
</verify>
44
</testcase>