Re: NEW ISSUE: example for matching functions, was: Weak and strong ETags

Henrik Nordstrom wrote:
> mån 2007-05-28 klockan 21:40 +0200 skrev Julian Reschke:
> Could be, but I have my doubts.. More likely they assume what the weak
> comparison function means without actually reading 13.3.3 at all.

OK, I re-read section 13.3, and I still think (agreeing with you) that 
the weak comparison of "1" and W/"1" yields true. At least this seems to 
be the only interpretation of 
<http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.13.3.3.p.7> 
that makes sense:

"...The weak comparison function: in order to be considered equal, both 
validators MUST be identical in every way, but either or both of them 
MAY be tagged as "weak" without affecting the result...."

...as "tagging as weak" is only defined for ETags. It seems to me that 
what we need to clarify is how to extract the validator from a given 
etag. Looking at 
<http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.3.11>:

    entity-tag = [ weak ] opaque-tag
    weak       = "W/"
    opaque-tag = quoted-string

...the validator would be the "opaque-tag" component.

Best regards, Julian

Received on Tuesday, 29 May 2007 12:51:31 UTC