Re: If-None-Match + Range

On Mon, Jan 16, 2012 at 2:08 PM, Roy T. Fielding <fielding@gbiv.com> wrote:
> 304 is the answer.

Thanks

> The text on precedence still needs work, but the conditions
> are tested before performing the requested method.

The current spec suggests a much more complex rule. The conditions are
ignored if it can be speculated that the request-sans-conditions would
fail. It's more like:

first, perform the request without conditions
    if it fails, return the failure. (conditions ignored)
    if it succeeds, test the conditions
        if conditions hold, return success
        if conditions fail, *rollback* the work done in first step
            and return 416 or 304

It would be nice if it's simplified as you just stated
    conditions are tested before performing the requested method.

Zhong Yu

Received on Monday, 16 January 2012 20:47:04 UTC