Re: what is the scope of accept-range

On Thu, 26 Mar 1998, Daniel Hellerstein wrote:

> (this is a minor point)
> 
> In section 14.5:                                                                       
>     The Accept-Ranges response-header field allows the server to
>     indicate   its acceptance of range requests for a resource ....              
>      Origin servers that accept byte-range requests MAY send 
>      Accept-Ranges: bytes                                                  
> 
> It's a bit unclear what the scope of the accept-range
> response header is. Is it just for the requested resources, or for a larger
> set of resources?
> 
> That is, if the origin server will accept byte-range requests
> for some, but not all, resources (say, not for html documents with
> server side includes),  then what is the proper usage of
> Accept-Ranges:?
> 

See the definition of what a resource is:

   resource
      A network data object or service that can be identified by a URI,
      as defined in section 3.2. Resources may be available in multiple
      representations (e.g. multiple languages, data formats, size,
      resolutions) or vary in other ways.

It means it will accept them for that resource, and only that resource.
The server may also accept range requests for other resources, but that is
not implied by the accept-ranges header.

Received on Thursday, 26 March 1998 17:29:56 UTC