httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject more on byte ranges...
Date Sun, 02 Nov 1997 07:13:03 GMT
	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

?


Mime
View raw message