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