On Jan 25, 2004, at 0:05, Stas Bekman wrote:
Ged Haywood wrote:
Hello there, On Sat, 24 Jan 2004, semuel wrote:
you don't need to "\r\n\r\n". "\n\n" will do the job.
According to the standard you should send both \r and \n. It is bad practice to play fast and loose with standards. http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html
Not if you use Apache. It does the right thing with "\n\n" for you, because it parses your headers and strips "\n\n" anyway, adding other HTTP headers and terminating each with "\r\n".
I must correct myself and say that I didn't check whether it actually sends "\r\n" or "\n" or "\r". What I was trying to say is that since it re-parses your headers (in a non-nph mode) it'll do the right thing...
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html