perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: GIF contents not "coming out"
Date Sat, 24 Jan 2004 23:05:31 GMT
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.

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

Of course if you use non-parsed-headers scripts/handlers, then you are on your 
own to do the right things.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

Reporting bugs:
Mail list info:
List etiquette:

View raw message