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
/
test178
blob
482e38d1e5939118bbffd2c508517577a8a0abf7
1
<testcase>
2
#
3
# Server-side
4
<reply>
5
<data>
6
HTTP/1.1 200 OK swsclose
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
moooooooooooo
13
</data>
14
</reply>
15
16
#
17
# Client-side
18
<client>
19
<server>
20
http
21
</server>
22
<name>
23
simple HTTP GET with negative Content-Length
24
</name>
25
<command>
26
http://%HOSTIP:%HTTPPORT/178
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 /178 HTTP/1.1
38
Host: %HOSTIP:%HTTPPORT
39
Accept: */*
40
41
</protocol>
42
</verify>
43
</testcase>