You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1997/11/02 08:13:03 UTC
more on byte ranges...
GET /~marcs/100.html HTTP/1.0
Range: bytes=90-120
HTTP/1.1 206 Partial Content
Date: Sun, 02 Nov 1997 07:11:52 GMT
Server: Apache/1.3b3-dev
Last-Modified: Sun, 02 Nov 1997 07:09:38 GMT
ETag: "b502-65-345c2732"
Content-Length: 11
Content-Range: bytes 90-100/101
Connection: close
Content-Type: text/html
kkkkkkkkkk
2068:
If the server ignores a byte-range-spec because it is invalid, the
server should treat the request as if the invalid Range header field
did not exist. (Normally, this means return a 200 response containing
the full entity). The reason is that the only time a client will make
such an invalid request is when the entity is smaller than the entity
retrieved by a prior request.
Is the byte range I specified invalid (only a 101 byte file) and should
Apache be ignoring it, or is the current behavior correct?
Same for requests like:
GET /~marcs/100.html HTTP/1.0
Range: bytes=1-10,2000-20
?