Re: Use of LWSP in ABNF -- consensus call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John C Klensin wrote:

>     LWSP AtLeastOneRequiredThing CRLF
> or
>     [ LWSP optional-stuff ] CRLF

> I don't see either of the latter as problematic.

Depends on the protocol.  Your constructs match
      SP CRLF SP CRLF SP AtLeastOneRequiredThing CRLF
      SP CRLF SP CRLF SP optional-stuff CRLF
.........^^^^^^^^^^^^
If you do this e.g. in a mail or HHTP header, where
CRLF CRLF means "end of header", then any tool like
a text editor or other UA trying to reuse the header
field "as is" while silently removing trailing white
space would end up with
      CRLF CRLF SP AtLeastOneRequiredThing CRLF
      CRLF CRLF SP optional-stuff CRLF
......^^^^^^^^^

Frank



_______________________________________________

Ietf@xxxxxxxx
https://www1.ietf.org/mailman/listinfo/ietf

[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]