1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6{} list
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<data nocheck="yes">
13HTTP/1.1 200 OK
14Date: Thu, 09 Nov 2010 14:49:00 GMT
15Server: test-server/fake
16Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
17ETag: "21025-dc7-39462498"
18Accept-Ranges: bytes
19Content-Length: 6
20Content-Type: text/html
21Funny-head: yesyes
22
23-foo-
24</data>
25<data1>
26HTTP/1.0 200 OK
27Content-Type: text/html
28Funny-head: swsclose
29Connection: close
30
31crap data
32</data1>
33</reply>
34
35#
36# Client-side
37<client>
38<server>
39http
40</server>
41 <name>
42HTTP, urlglob {}-retrieval and -o #[num] usage
43 </name>
44 <command option="no-output">
45"http://%HOSTIP:%HTTPPORT/{74,740001}" -o "log/dumpit#1.dump"
46</command>
47</client>
48
49#
50# Verify data after the test has been "shot"
51<verify>
52<strip>
53^User-Agent:.*
54</strip>
55<protocol>
56GET /74 HTTP/1.1
57Host: %HOSTIP:%HTTPPORT
58Accept: */*
59
60GET /740001 HTTP/1.1
61Host: %HOSTIP:%HTTPPORT
62Accept: */*
63
64</protocol>
65<file name="log/dumpit740001.dump">
66HTTP/1.0 200 OK
67Content-Type: text/html
68Funny-head: swsclose
69Connection: close
70
71crap data
72</file>
73</verify>
74</testcase>
75