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