xref: /curl/tests/data/test18 (revision 3fd80c7b)
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/{%TESTNUMBER,%TESTNUMBER0002,%TESTNUMBER0003}"
45</command>
46</client>
47
48# Verify data after the test has been "shot"
49<verify>
50<protocol>
51GET /%TESTNUMBER HTTP/1.1
52Host: %HOSTIP:%HTTPPORT
53User-Agent: curl/%VERSION
54Accept: */*
55
56GET /%TESTNUMBER0002 HTTP/1.1
57Host: %HOSTIP:%HTTPPORT
58User-Agent: curl/%VERSION
59Accept: */*
60
61GET /%TESTNUMBER0003 HTTP/1.1
62Host: %HOSTIP:%HTTPPORT
63User-Agent: curl/%VERSION
64Accept: */*
65
66</protocol>
67<stdout>
68HTTP/1.1 200 OK
69Funny-head: yesyes
70Content-Length: 4
71
72moo
73HTTP/1.1 200 OK
74Funny-head: yesyes
75Content-Length: 4
76
77foo
78HTTP/1.1 200 OK
79Funny-head: yesyes
80Content-Length: 4
81
82hoo
83</stdout>
84</verify>
85</testcase>
86