When the web server claims ContentType: text / plain in the HTTP response, can the client consider the newlines to be "\ n" or "\ r \ n", something else or allow both?
What standards indicate? I am lost and confused among the standards. RFC 2046 appears to define a βsimpleβ subtype, but it refers to RFC 822.
I looked at RFC 822, but am confused that it says that CRLF (\ r \ n) is not explicitly allowed (in the message body), or should CRLF be implicitly allowed, since any ASCII character is legal after an empty string?
RFC 5322 defines an βInternet messaging format,β and I'm not sure if this applies to HTTP (seems to be for email), but it specifically states that ONLY CR or LF in the body of the message you should see is CRLF combination ..?
source share