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