From: Chris Ross Date: 2002-04-15T21:45:58+09:00 Subject: Re: mime type On Mon, Apr 15, 2002 at 09:36:29PM +0900, Tobias Reif muttered... : Michael Sullivan wrote: : : > Because according to the protocol, you must have a blank line following : > the content type, hence the two new lines. All the CGI modules do this : > as well. : : : Chris Ross wrote: : : > because you need atleast one blank line between the headers [which : > content-type is] and the content of the page. : : but unless self.confused : (print "\n\n"). has_the_same_effect_as (puts "\n") : end. ? : Not sure, but the other pots indicate that puts places a \n on the end only if there isnt one already. Regards, Chris -- Chris Ross (boris) chris@darkrock.co.uk | ctr@ferite.org http://www.darkrock.co.uk | http://www.ferite.org "I dont suffer from insanity - I enjoy every minute of it..."