Annotation of embedaddon/curl/tests/data/test92, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: Content-Range
7: Resume
8: </keywords>
9: </info>
10:
11: # Server-side
12: <reply>
13: <data>
14: HTTP/1.1 416 Requested Range Not Satisfiable
15: Date: Fri, 24 Oct 2003 21:33:12 GMT
16: Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.3.1
17: Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT
18: ETag: "ab57a-507-3f9968f3"
19: Accept-Ranges: bytes
20: Content-Length: 4
21: Content-Range: bytes */87
22: Content-Type: image/gif
23:
24: bad
25: </data>
26:
27: # The body should be ignored.
28: <datacheck>
29: HTTP/1.1 416 Requested Range Not Satisfiable
30: Date: Fri, 24 Oct 2003 21:33:12 GMT
31: Server: Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.3.1
32: Last-Modified: Fri, 24 Oct 2003 18:01:23 GMT
33: ETag: "ab57a-507-3f9968f3"
34: Accept-Ranges: bytes
35: Content-Length: 4
36: Content-Range: bytes */87
37: Content-Type: image/gif
38:
39: </datacheck>
40: </reply>
41:
42: # Client-side
43: <client>
44: <server>
45: http
46: </server>
47: <name>
48: HTTP resume transfer with the whole file already downloaded
49: </name>
50: <command>
51: http://%HOSTIP:%HTTPPORT/want/92 -C 87
52: </command>
53: </client>
54:
55: # Verify data after the test has been "shot"
56: <verify>
57: <strip>
58: ^User-Agent:.*
59: </strip>
60: <protocol>
61: GET /want/92 HTTP/1.1
62: Host: %HOSTIP:%HTTPPORT
63: Range: bytes=87-
64: Accept: */*
65:
66: </protocol>
67:
68: </verify>
69: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>