This means the request line and headers should use CRLF. Clients are sloppy about this and servers are forgiving. But you should be careful about the end-of-line characters. And don't use "\r\n" which is interpreted differently on different platforms but "\015\012".
Also, the body should not have the line-endings changed. It should be treated like a binary block. One advantage is that you don't need to examine the media type and worry about images being corrupted.
In reply to Re: Web and newlines, aka perl vs ^M
by iburrell
in thread Web and newlines, aka perl vs ^M
by Eyck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |