- From: Mark Nottingham <mnot@mnot.net>
- Date: Thu, 13 Nov 2008 18:06:03 -0800
- To: Jamie Lokier <jamie@shareable.org>
- Cc: HTTP Working Group <ietf-http-wg@w3.org>
Yes; we looked at disallowing it, but implementations that support folding do already support whitespace-only lines. We don't want to make them non-conforming. Also, it made the ABNF really, really ugly. Really. We're considering discouraging producing all-whitespace continuation lines in prose. Thoughts? On 13/11/2008, at 6:03 PM, Jamie Lokier wrote: > Mark Nottingham wrote: >> OWS = *( [ obs-fold ] WSP ) ; "optional" white space >> RWS = 1*( [ obs-fold ] WSP ) ; "required" white space >> BWS = OWS ; "bad" white space >> obs-fold = CRLF > > That syntax permits header lines containing only whitespace, like > this: > > Field:<SP>value<CRLF> > <SP><CRLF> > <SP>more value<CRLF> > > Is this intentional? (RFC2616 allows it.) > > -- Jamie -- Mark Nottingham http://www.mnot.net/
Received on Friday, 14 November 2008 02:06:43 UTC