#541, use of "word" ABNF production

On 2013-12-21 01:45, Roy T. Fielding wrote:
> On Dec 16, 2013, at 3:16 AM, Julian Reschke wrote:
>
>> On 2013-12-16 12:05, Simon Yarde wrote:
>>> Might be neater to use the new 'word' rule?
>>>
>>>
>>> -- > chunk-ext      = *( ";" chunk-ext-name [ "=" chunk-ext-val ] )
>>> -- >
>>> -- > chunk-ext-name = token
>>> -- > chunk-ext-val  = word
>>>
>>>
>>> -- > word           = token / quoted-string
>>>
>>>
>>> Best Regards
>>>
>>> Simon
>>> ...
>>
>> Maybe. Right now we use "word" only in two places; either we should get rid of it, or use it consistently.
>
> Removed in
>
>     http://trac.tools.ietf.org/wg/httpbis/trac/changeset/2519
>
> along with some other unnecessary rules.

I have re-added the "special" rule. It's not referenced by the ABNF but 
it was there to clarify "tchar":

   tchar          = "!" / "#" / "$" / "%" / "&" / "'" / "*"
                  / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
                  / DIGIT / ALPHA
                  ; any VCHAR, except special

   special        = "(" / ")" / "<" / ">" / "@" / ","
                  / ";" / ":" / "\" / DQUOTE / "/" / "["
                  / "]" / "?" / "=" / "{" / "}"

Best regards, Julian

Received on Saturday, 21 December 2013 09:09:36 UTC