On 6/10/08, Ludwig Isaac Lim <[EMAIL PROTECTED]> wrote:
> Hi:
>
>   Any Linux/Unix CGI/web developer here? Is it a practice in CGI programming 
> (under Unix/Linux)
> to convert newlines in HTML <Textarea> input from "\n\r" or "\r" to "\n"?
>
>   Has one encountered something unusual due to the presence of "\r" in the 
> data? (This is aside
> from fact if that a bunch of lines might be interpreted as a single line of 
> the end-of-line
> delimiter is a "\r").

HTTP version 1.1 is relax when the media type is "text" type (eg.
Content-Type: text/html)... "\r\n"  or "\n" or "\r" is acceptable as
line break in the HTTP body...

see RFC 2616 section 3.7.1 paragraph 2 for more information...

fooler.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to