W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2002

Re: RFC2617 errata?

From: Alex Rousskov <rousskov@measurement-factory.com>
Date: Thu, 23 May 2002 22:16:00 -0600 (MDT)
To: Mark Nottingham <mnot@mnot.net>
cc: ietf-http-wg@w3.org
Message-ID: <Pine.BSF.4.10.10205232210430.9331-100000@measurement-factory.com>
On Thu, 23 May 2002, Mark Nottingham wrote:

> Browsing 2617, I came across:
> 
>     credentials = auth-scheme #auth-param
> 
> Is this missing a 1*SP?

My understanding is that since auth-scheme ends with a token and
auth-param starts with a token, LWS is implied by the BNF:

   implied *LWS
      The grammar described by this specification is word-based. Except
      where noted otherwise, linear white space (LWS) can be included
      between any two adjacent words (token or quoted-string), and
      between adjacent words and separators, without changing the
      interpretation of a field. At least one delimiter (LWS and/or
      separators) MUST exist between any two tokens (for the definition
      of "token" below), since they would otherwise be interpreted as a
      single token.

However, for consistency and readability reasons, it should probably
be made explicit, like in the challenge case:

      challenge   = auth-scheme 1*SP 1#auth-param


Alex.
Received on Friday, 24 May 2002 00:16:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:18 GMT