W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2011

Re: #320: add advice on defining auth scheme parameters

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sat, 29 Oct 2011 16:04:51 +0200
Message-ID: <4EAC0803.5020207@gmx.de>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
CC: HTTP Working Group <ietf-http-wg@w3.org>
On 2011-10-29 15:54, Yutaka OIWA wrote:
> mostly +1 for requiring generic-parser-compatible syntaxes.
>
> Could you explain what
>
>       Note: the fact that "realm" only allows quoted-string syntax was a
>       bad design choice not to be repeated in new schemes.
>
> means?
> I don't think it is a bad idea, as long as ["realm=" token] pattern is
> not valid.  (because it is equivalent to use a generic parser first and
> then to require quoted-string as a value.)
> ...

What I mean is that the ABNF requires the realm value to be a token, but 
in practice all UAs accept both forms.

See test case: <http://greenbytes.de/tech/tc/httpauth/#simplebasictok>

Best regards, Julian
Received on Saturday, 29 October 2011 14:05:38 GMT

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