I was recently studying Internet Message Format originally RFC2822 and RFC5322. I was looking at definition of folding whitespace.
Each header field is logically a single line of characters comprising the field name, the colon, and the field body. For convenience however, and to deal with the 998/78 character limitations per line, the field body portion of a header field can be split into a multiple-line representation; this is called "folding". The general rule is that wherever this specification allows for folding white space (not simply WSP characters), a CRLF may be inserted before any WSP.
For example, the header field:
Subject: This is a test
can be represented as:
Subject: This
is a test
The rule definition is in ABNF notation and as follows:
FWS = ([WSP CRLF] 1WSP) / obs-FWS ; Folding white space
WSP is a whitespace, CRLF is carriage return and line feed
In ABNF []-enclosed can or cannot be present which is not what the text says.
The rule definition means:
FWS is 1 or more whitespace optionally preceded by (zero or more whitespace and carriage return and line feed)
Which means that just one or more whitespace is a folding whitespace. Is that correct?