Initial commit of visual studio 9 git build superproject.
[git-build-vc9.git] / curl / tests / data / test12
blob95b891aca5c0f909a63dfb489560714d96c8746c
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 Content-Range
7 </keywords>
8 </info>
10 # Server-side
11 <reply>
12 <data>
13 HTTP/1.1 206 Partial Content\r
14 Date: Mon, 13 Nov 2000 13:41:09 GMT\r
15 Server: Apache/1.3.11 (Unix) PHP/3.0.14\r
16 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT\r
17 ETag: "21025-dc7-39462498"\r
18 Accept-Ranges: bytes\r
19 Content-Length: 101\r
20 Content-Range: bytes 100-200/3527\r
21 Connection: close\r
22 Content-Type: text/html\r
24 ..partial data returned from the
25 server as a result of setting an explicit byte range
26 in the request
27 </data>
28 </reply>
30 # Client-side
31 <client>
32 <server>
33 http
34 </server>
35  <name>
36 HTTP range support
37  </name>
38  <command>
39 http://%HOSTIP:%HTTPPORT/want/12 -r 100-200
40 </command>
41 </client>
43 # Verify data after the test has been "shot"
44 <verify>
45 <strip>
46 ^User-Agent:.*
47 </strip>
48 <protocol>
49 GET /want/12 HTTP/1.1\r
50 Range: bytes=100-200\r
51 Host: %HOSTIP:%HTTPPORT\r
52 Accept: */*\r
54 </protocol>
55 </verify>
56 </testcase>