- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Mon, 05 Dec 2005 01:27:53 +0100
- To: Lisa Dusseault <lisa@osafoundation.org>
- CC: WebDAV WG <w3c-dist-auth@w3.org>
Lisa Dusseault wrote:
>
> If I understand correctly, that's not the only place where RFC2616's LWS
> rules get us into trouble.
>
> TimeOut = "Timeout" ":" 1#TimeType
> TimeType = ("Second-" DAVTimeOutVal | "Infinite")
> DAVTimeOutVal = 1*digit
>
> Applying the 2616 word-based grammer to those rules, we could have
> Timeout headers like
>
> Timeout: Second- 1111
Yes.
> Timeout: Second-1 1 1 1
No.
> Is my understanding of 2616 BNF grammar correct? I'm not sure if
> 1*DIGIT is one token or several, so it's not entirely clear to me if the
> second example is allowed. Certainly the intent of 2616 is not to allow
> that because values like Content-Length are defined as 1*DIGIT.
Best regards, Julian
Received on Monday, 5 December 2005 00:29:05 UTC