15c1e2fd1b27309aa1032082389bb6165bbb945d
[platform/upstream/curl.git] / tests / data / test1280
1 <testcase>
2 <info>
3 <keywords>
4 globbing
5 </keywords>
6 </info>
7
8 #
9 # Server-side
10 <reply>
11 <data>
12 HTTP/1.1 200 OK
13 Date: Thu, 09 Nov 2010 14:49:00 GMT
14 Content-Length: 6
15 Connection: close
16
17 bytes
18 </data>
19 </reply>
20
21 # Client-side
22 <client>
23 <server>
24 http
25 </server>
26  <name>
27 simple [a-d] globbing
28  </name>
29  <command>
30 http://%HOSTIP:%HTTPPORT/[a-d]/1280
31 </command>
32 </client>
33
34 # Verify data after the test has been "shot"
35 <verify>
36 <strip>
37 ^User-Agent:.*
38 </strip>
39 <protocol>
40 GET /a/1280 HTTP/1.1\r
41 Host: %HOSTIP:%HTTPPORT\r
42 Accept: */*\r
43 \r
44 GET /b/1280 HTTP/1.1\r
45 Host: %HOSTIP:%HTTPPORT\r
46 Accept: */*\r
47 \r
48 GET /c/1280 HTTP/1.1\r
49 Host: %HOSTIP:%HTTPPORT\r
50 Accept: */*\r
51 \r
52 GET /d/1280 HTTP/1.1\r
53 Host: %HOSTIP:%HTTPPORT\r
54 Accept: */*\r
55 \r
56 </protocol>
57 </verify>
58 </testcase>