Debian Codegraph @

curl/tests/data/test48

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