Another Question on byte ranges

On Fri, 31 Oct 1997, John Franks wrote:

> Here is a question arising from the interoperability test.
> 

And another one I forgot:

>From section 14.17
            A server sending a response with status code 416 (Requested
            range  not valid) SHOULD include a Content-range field with
            a content-range-spec of "*".

What is the purpos of this?

BUT 10.4.17 says about status 416:

            When this status code is returned for a byte-range request,
            the response MUST include a Content-Range entity-header
            field specifying the current length of the selected resource
            (see section 14.17).

I don't think '*' specifies the length. On the other hand I see no
way to make a Content-Range header which would be legal and would 
specify the length.

Maybe what is needed is to allow something like 

   Content-Range: bytes *-*/200

when an illegal range (like 300-400) has been requested from a 200
byte file.

John Franks
john@math.nwu.edu

Received on Friday, 31 October 1997 17:48:55 UTC