W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2012

Re: If-None-Match + Range

From: Zhong Yu <zhong.j.yu@gmail.com>
Date: Mon, 16 Jan 2012 10:38:13 -0600
Message-ID: <CACuKZqHyQe6GoWFpHNp5NVe50-RuByf5KMwrRVbni-Gb7LmKxw@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Let me clarify my question with an example.

The representation remains unchanged between requests; the ETag
remains "v0". The length of the representation body is 1000 bytes. Now
consider this request

    GET /resource HTTP/1.1
    If-None-Match: "v0"
    Range: bytes=2000-3000

of course, this is a bad request. The question is, which status code
should be returned? 304 or 416? The two sections I quoted seem to
yield to each other.

Zhong Yu
Received on Monday, 16 January 2012 16:38:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:52 GMT