xref: /curl/tests/data/test1328 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6globbing
7--fail
8</keywords>
9</info>
10
11<reply>
12<data>
13HTTP/1.1 404 NOT OK
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Content-Length: 6
16Funny-head: yesyes
17
18-noo-
19</data>
20<data1>
21HTTP/1.1 200 OK
22Date: Tue, 09 Nov 2010 14:49:00 GMT
23Content-Length: 6
24Connection: close
25Funny-head: yesyes
26
27-yes-
28</data1>
29<datacheck>
30HTTP/1.1 200 OK
31Date: Tue, 09 Nov 2010 14:49:00 GMT
32Content-Length: 6
33Connection: close
34Funny-head: yesyes
35
36-yes-
37</datacheck>
38</reply>
39
40#
41# Client-side
42<client>
43<server>
44http
45</server>
46<name>
47HTTP GET a globbed range with -f
48</name>
49<command>
50-f 'http://%HOSTIP:%HTTPPORT/[%TESTNUMBER0000-%TESTNUMBER0001]' -o %LOGDIR/#1
51</command>
52</client>
53
54#
55# Verify data after the test has been "shot"
56<verify>
57<protocol>
58GET /%TESTNUMBER0000 HTTP/1.1
59Host: %HOSTIP:%HTTPPORT
60User-Agent: curl/%VERSION
61Accept: */*
62
63GET /%TESTNUMBER0001 HTTP/1.1
64Host: %HOSTIP:%HTTPPORT
65User-Agent: curl/%VERSION
66Accept: */*
67
68</protocol>
69</verify>
70</testcase>
71