Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 65812 invoked from network); 24 Jan 2004 23:05:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Jan 2004 23:05:52 -0000 Received: (qmail 22246 invoked by uid 500); 24 Jan 2004 23:05:29 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 21935 invoked by uid 500); 24 Jan 2004 23:05:28 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 21910 invoked from network); 24 Jan 2004 23:05:27 -0000 Message-ID: <4012FA3B.5020201@stason.org> Date: Sat, 24 Jan 2004 15:05:31 -0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031010 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Ged Haywood Cc: semuel , mod_perl Mailing List Subject: Re: GIF contents not "coming out" References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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". 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 http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org 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