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

Re: Struggling with LWS (2616) vs LWSP (2831bis)

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Tue, 27 May 2008 13:42:59 +0200
To: ietf-http-wg@w3.org
Message-ID: <g1gs19$8ae$1@ger.gmane.org>

Julian Reschke wrote:
 
> For now, I'm just trying to make progress on the ABNF conversion;
> *not* on changing the allowed syntax (for which I think we don't
> have consensus yet).

Fine, for 2831bis I arrived at 
<http://article.gmane.org/gmane.ietf.sasl/2758>
amended by
<http://article.gmane.org/gmane.ietf.sasl/2759>
using the definition  LWSP = *(WSP / CRLF WSP)

That's the same LWSP as in STD 68 with "apparently empty lines".

To fix this *later* you can simply replace LWSP by FWS (RFC 2822):

FWS     = ([*WSP CRLF] 1*WSP) / obs-FWS

*Later* put the "multi-CRLF" crap into <obs-FWS>, and say that it
MUST NOT be generated, compare RFC 2822 chapter 4.2.  The syntax
for <obs-FWS> could be improved, I didn't see that in the 2822upd
discussions:

obs-FWS = 1*WSP *(CRLF 1*WSP)

I think that should be obs-FWS = 1*WSP 2*(CRLF 1*WSP) or similar.

 Frank
Received on Tuesday, 27 May 2008 11:42:16 GMT

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