You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Aram W. Mirzadeh" <aw...@qosina.com> on 1995/12/26 16:41:21 UTC

WWW Form Bug Report: "EOL: \r\n or \n?" on Linux

This isn't Linux related, and I'm not really sure what the devil he's asking.
No ack sent.  If someone actually has an answer I would like one too... 

>X-POP3-Rcpt: awm@luers.qosina.com
>From: yjj@eng.umd.edu
>To: awm@qosina.com
>Date: Sun Dec 24 19:43:49 1995
>Subject: WWW Form Bug Report: "EOL: \r\n or \n?" on Linux
>
>Submitter: yjj@eng.umd.edu
>Operating system: Linux, version: 
>Extra Modules used: none
>URL exhibiting problem: 199.75.162.2:8089/shopping.html
>
>Symptoms:
>--
>My perl CGI has this HTTP status header:
>print "Content-Type: text/html\r\n";
>before
>print "<HTML>";
>It works with NCSA httpd 1.5.  But with Apache
>1.0, I need
>print "Content-Type: text/html\n\n";
>
>I'm a Unix person and would like to use \n
>as EOL.  But the http1.0 recommends the use of
>\r\n.  So, it actually should be
>print "Content-Type: text/html\r\n\r\n";
>
>NCSA 1.5 and apache all do not ahere
>to this.
>--
>
>Backtrace:
>--
>
>--
>
>
--
Aram W. Mirzadeh, MIS Manager, Qosina Corporation
http://www.qosina.com/~awm/, awm@qosina.com
Apache httpd server team http://www.apache.org