1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6globbing
7{} list
8</keywords>
9</info>
10# Server-side
11<reply>
12<data nocheck="yes">
13HTTP/1.1 200 OK
14Funny-head: yesyes
15Content-Length: 4
16
17moo
18</data>
19<data2>
20HTTP/1.1 200 OK
21Funny-head: yesyes
22Content-Length: 4
23
24foo
25</data2>
26<data3>
27HTTP/1.1 200 OK
28Funny-head: yesyes
29Content-Length: 4
30
31hoo
32</data3>
33</reply>
34
35# Client-side
36<client>
37<server>
38http
39</server>
40 <name>
41multiple requests using {} in URL
42 </name>
43 <command>
44"%HOSTIP:%HTTPPORT/{18,180002,180003}"
45</command>
46</client>
47
48# Verify data after the test has been "shot"
49<verify>
50<protocol>
51GET /18 HTTP/1.1
52Host: %HOSTIP:%HTTPPORT
53User-Agent: curl/%VERSION
54Accept: */*
55
56GET /180002 HTTP/1.1
57Host: %HOSTIP:%HTTPPORT
58User-Agent: curl/%VERSION
59Accept: */*
60
61GET /180003 HTTP/1.1
62Host: %HOSTIP:%HTTPPORT
63User-Agent: curl/%VERSION
64Accept: */*
65
66</protocol>
67<stdout>
68--_curl_--%HOSTIP:%HTTPPORT/18
69HTTP/1.1 200 OK
70Funny-head: yesyes
71Content-Length: 4
72
73moo
74--_curl_--%HOSTIP:%HTTPPORT/180002
75HTTP/1.1 200 OK
76Funny-head: yesyes
77Content-Length: 4
78
79foo
80--_curl_--%HOSTIP:%HTTPPORT/180003
81HTTP/1.1 200 OK
82Funny-head: yesyes
83Content-Length: 4
84
85hoo
86</stdout>
87</verify>
88</testcase>
89