1<testcase>
2#
3# Server-side
4<reply name="1">
5<data>
6HTTP/1.1 200 OK
7Date: Thu, 09 Nov 2010 14:49:00 GMT
8Server: test-server/fake
9Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
10ETag: "21025-dc7-39462498"
11Accept-Ranges: bytes
12Content-Length: 6
13Connection: close
14Content-Type: text/html
15Funny-head: yesyes
16
17-foo-
18</data>
19</reply>
20
21#
22# Client-side
23<client>
24<server>
25http
26</server>
27 <name>
28HTTP with -d, -G and {}
29 </name>
30 <command>
31-d "foo=moo&moo=poo" "http://%HOSTIP:%HTTPPORT/{199,199}" -G
32</command>
33</client>
34
35#
36# Verify data after the test has been "shot"
37<verify>
38<strip>
39^User-Agent:.*
40</strip>
41<protocol>
42GET /199?foo=moo&moo=poo HTTP/1.1
43Host: %HOSTIP:%HTTPPORT
44Accept: */*
45
46GET /199?foo=moo&moo=poo HTTP/1.1
47Host: %HOSTIP:%HTTPPORT
48Accept: */*
49
50</protocol>
51</verify>
52</testcase>
53