RE: i107

On Wed, 2008-02-27 at 21:53 -0800, Brian Smith wrote:
> > Last-Modified validation is defined in terms of
> > 'requested variant', whereas ETag validation
> > (If-Match, If-None-Match) seem to go out of
> > their way to say that *any* entity that meets
> > the conditional can be returned, and never
> > mind the selecting headers.

If-None-Match is pretty clearly defined to apply to "the selected
representation" only.

   If any of the entity tags match the entity tag of the entity that
   would have been returned in the response to a similar GET request
   (without the If-None-Match header) on that resource, or if "*" is
[...]

   The meaning of "If-None-Match: *" is that the method MUST NOT be
   performed if the representation selected by the origin server (or by
   a cache, possibly using the Vary mechanism, see section 14.44)


Same thing for If-Match (exact same wording, only negated to match the
condition).

Regards
Henrik

Received on Thursday, 13 March 2008 22:57:10 UTC