xref: /curl/tests/data/test87 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6globbing
7[] range
8FAILURE
9</keywords>
10</info>
11#
12# Server-side
13<reply>
14<data1>
15HTTP/1.1 200 OK
16Funny-head: yesyes
17Content-Length: 15
18
19the number one
20</data1>
21<data2>
22HTTP/1.1 200 OK
23Funny-head: yesyes
24Content-Length: 16
25
26two is nice too
27</data2>
28
29</reply>
30#
31# Client-side
32<client>
33<server>
34http
35</server>
36<features>
37http
38</features>
39<name>
40urlglob with out of range -o #[num] usage
41</name>
42 <command option="no-output">
43"http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0001-%TESTNUMBER0002]" -o "%LOGDIR/dumpit%TESTNUMBER-#2.dump"
44</command>
45</client>
46
47#
48# Verify data after the test has been "shot". Note that the command line
49# will write both responses into the same file name so only the second
50# survives
51#
52<verify>
53<file name="%LOGDIR/dumpit%TESTNUMBER-#2.dump">
54HTTP/1.1 200 OK
55Funny-head: yesyes
56Content-Length: 16
57
58two is nice too
59</file>
60</verify>
61</testcase>
62