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
/
test48
blob
186a2808c0a2d0075de5acc3e557b5bfcfcd2ec3
1
<testcase>
2
<info>
3
<keywords>
4
HTTP
5
HTTP HEAD
6
-G
7
</keywords>
8
</info>
9
#
10
# Server-side
11
<reply>
12
<data>
13
HTTP/1.1 200 OK
14
Date: Thu, 09 Nov 2010 14:49:00 GMT
15
Connection: close
16
17
</data>
18
</reply>
19
20
#
21
# Client-side
22
<client>
23
<server>
24
http
25
</server>
26
<name>
27
HTTP with -d and -G and -I
28
</name>
29
<command>
30
-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/48 -G -I
31
</command>
32
</client>
33
34
#
35
# Verify data after the test has been "shot"
36
<verify>
37
<strip>
38
^User-Agent:.*
39
</strip>
40
<protocol>
41
HEAD /48?foo=moo&moo=poo HTTP/1.1
42
Host: %HOSTIP:%HTTPPORT
43
Accept: */*
44
45
</protocol>
46
</verify>
47
</testcase>