xref: /curl/tests/data/test1283 (revision e7a021e1)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6globbing
7[] range
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data nocheck="yes">
15HTTP/1.1 200 OK
16Date: Tue, 09 Nov 2010 14:49:00 GMT
17Content-Length: 6
18Connection: close
19
20bytes
21</data>
22</reply>
23
24# Client-side
25<client>
26<server>
27http
28</server>
29<name>
30globbing range with same start and stop
31</name>
32<command option="no-output">
33http://%HOSTIP:%HTTPPORT/[a-a][1-1][b-b:1][2-2:1]/%TESTNUMBER -o "%LOGDIR/outfile%TESTNUMBER_#1#2#3#4.dump"
34</command>
35</client>
36
37# Verify data after the test has been "shot"
38<verify>
39<protocol>
40GET /a1b2/%TESTNUMBER HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42User-Agent: curl/%VERSION
43Accept: */*
44
45</protocol>
46<file name="%LOGDIR/outfile%TESTNUMBER_a1b2.dump">
47HTTP/1.1 200 OK
48Date: Tue, 09 Nov 2010 14:49:00 GMT
49Content-Length: 6
50Connection: close
51
52bytes
53</file>
54</verify>
55</testcase>
56