1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6Content-Range
7Resume
8Range
9</keywords>
10</info>
11
12# Server-side
13<reply>
14<data nocheck="yes">
15HTTP/1.1 200 OK
16Content-Type: text/html
17Content-Length: 5
18
19body
20</data>
21
22<data1 nocheck="yes">
23HTTP/1.1 200 OK
24Content-Type: text/html
25Content-Length: 5
26Content-Range: bytes 3/7
27
28body
29</data1>
30
31<data2 nocheck="yes">
32HTTP/1.1 416 Requested Range Not Satisfiable
33Content-Type: text/html
34Content-Length: 5
35
36body
37</data2>
38
39<data3 nocheck="yes">
40HTTP/1.1 416 Requested Range Not Satisfiable
41Content-Type: text/html
42Content-Length: 5
43Content-Range: bytes */2
44
45body
46</data3>
47</reply>
48
49# Client-side
50<client>
51<server>
52http
53</server>
54<tool>
55lib1156
56</tool>
57 <name>
58HTTP resume/range fail range-error content-range combinations
59 </name>
60 <command>
61http://%HOSTIP:%HTTPPORT/want/1156
62</command>
63</client>
64
65# Verify data after the test has been "shot"
66<verify>
67<errorcode>
680
69</errorcode>
70</verify>
71</testcase>
72