http://www.perlmonks.org?node_id=198660


in reply to Re: Re: Re: Re: Re: Re: Handling Mac, Unix, Win/DOS newlines at readtime...
in thread Handling Mac, Unix, Win/DOS newlines at readtime...

Yep, you're right. See my other reply also. This surprises me, in a way. The only way this relaxed requirement makes sense to me is in a case where the HTTP server isn't sure what line endings are being used on textual content stored on the server, which is an example of someone making special concessions because something else isn't doing what it's supposed to.

So basically, HTML says, "I should be CRLF when sent over the Internet," but HTTP says, "Err, yah, we'll see what we can do."

:/

  • Comment on Re: Re: Re: Re: Re: Re: Re: Handling Mac, Unix, Win/DOS newlines at readtime...