From: Michael Sullivan Date: 2002-04-15T21:27:36+09:00 Subject: Re: mime type 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. Mike On Mon, Apr 15, 2002 at 09:21:02PM +0900, Tobias Reif wrote: > Hi all, > > puts "content-type: text/plain\n" > > doesn't work (server error), but > > print "content-type: text/plain\n\n" > > works; why? > > Tobi > > -- > http://www.pinkjuice.com/ > -- Michael P. Sullivan Distributed Computing Systems, LLC Cell: 516-429-2080 E-Mail: mps@discomsys.com http://www.discomsys.com/ * UNIX Systems and Database Consulting, Architecture and Management * "Failing to plan, is planning to fail... plan for the worst, hope for the best"