Re: #306: does etag value really use quoted-string

On 2011-09-05 15:17, Yves Lafon wrote:
> On Thu, 1 Sep 2011, Julian Reschke wrote:
>
>>
>> 2.3. ETag
>>
>> The ETag header field provides the current entity-tag for the
>> selected representation. An entity-tag is an opaque validator for
>> differentiating between multiple representations of the same
>> resource, regardless of whether those multiple representations are
>> due to resource state changes over time, content negotiation
>> resulting in multiple representations being valid at the same time,
>> or both. An entity-tag consists of an opaque quoted string, possibly
>> prefixed by a weakness indicator.
>>
>> ETag = entity-tag
>>
>> entity-tag = [ weak ] opaque-tag
>> weak = %x57.2F ; "W/", case-sensitive
>> opaque-tag = DQUOTE *etagc DQUOTE
>> etagc = %x21 / %x23-7E / obs-text
>> ; VCHAR except double quotes, plus obs-text
>
> How about removing %x5C as well '\' and note that implementations were
> not handling \ as a quoted-string as it was defined before, leading to
> non-interoperable parsing of such ETags.
> ...

The reason I didn't do it is that I really don't believe \ is 
non-interoperable in practice, as the clients really do not treat the 
(most?) etags as quoted strings but as opaque values; in which case 
there is no problem in practice...

Received on Monday, 5 September 2011 13:27:34 UTC