Re: must a partial response range be exact?

On tor, 2008-10-09 at 19:59 +0000, A. Rothman wrote:

> However, if that is so, then given that "A response to a request for
> multiple ranges, whose result is a single range, MAY be sent as a
> multipart/byteranges media type with one part", the spec MAY have this
> SHOULD clause bite itself as well (in exactly the same sense as
> returning a single Content-Range response)...

My reading:

A linear sequence of in-order ranges MAY be merged in the response. If
there is only a single range left after such merges then it SHOULD be
sent as a Content-Range response instead of multipart/byteranges, but
MAY be sent as multipart/byteranges is the sender prefer..The recipient
MUST accept both as valid responses, in addition to the 1-1 mapped
multipart/byteranges response or any other response that do cover the
requested ranges including (but not limited to) a full non-ranged
response.

Regards
Henrik

Received on Friday, 10 October 2008 19:03:46 UTC