Re: Proposal: i67 - quoting charsets

Brian Smith wrote:
> Julian Reschke wrote:
>> Mark Nottingham wrote:
>>> Closed with proposal below.
>> OK, proposed patch 
>> (<http://www3.tools.ietf.org/wg/httpbis/trac/attachment/ticket
>> /67/i67.diff>): 
>> in 
>> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p3-payloa
>> d-latest.html#rfc.section.3.3>,
>>
>> add
>>
>>     All parameters defined as a token are also allowed to occur as
>>     quoted-string, where both notations are equivalent.
> 
> Does this mean "All parameters defined as a token are also allowed to occur
> as quoted-string, but only when both notations are equivalent" or "All
> parameters defined as a token are also allowed to occur as quoted-string;
> both notations are equivalent."

The intent was the latter.

So:

"All parameters defined as a token are also allowed to occur as 
quoted-string; both notations are equivalent."

> quoted-strings are always compared to each other in a case-sensitive manner
> (right?) but tokens are always compared to each other in a case-insensitive

I thought it depends on the parameter:

"Parameter values might or might not be case-sensitive, depending on the 
semantics of the parameter name."

> manner. A quoted-string should be compared to a token in a case-insensitive
> manner as well, right?

BR, Julian

Received on Wednesday, 28 May 2008 16:33:01 UTC