R. Joseph Newton wrote:
> Bob Showalter wrote:
> 
> > A CGI script needs to output a MIME header. At a bare minimum, you
> > need to add the following: 
> > 
> >    print "Content-Type: text/plain\r\n\r\n",
> >        "ciao\n";
> 
> Hi Bob,

Hi R. Joseph,

> 
> What system needs those "\r"s?  I have yet to run across a
> web browser thaqt did not respond properly with simple newlines: "\n".

They are required per RFC2616, and they are output by CGI.pm. But the RFC
encourages clients to be forgiving, and most are.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to