httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aram W. Mirzadeh" <>
Subject WWW Form Bug Report: "EOL: \r\n or \n?" on Linux
Date Tue, 26 Dec 1995 15:41:21 GMT

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... 

>Date: Sun Dec 24 19:43:49 1995
>Subject: WWW Form Bug Report: "EOL: \r\n or \n?" on Linux
>Operating system: Linux, version: 
>Extra Modules used: none
>URL exhibiting problem:
>My perl CGI has this HTTP status header:
>print "Content-Type: text/html\r\n";
>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.
Aram W. Mirzadeh, MIS Manager, Qosina Corporation,
Apache httpd server team

View raw message