From: David Alan Black Date: 2002-04-15T21:33:51+09:00 Subject: Re: mime type Hi -- On Mon, 15 Apr 2002, 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? According to ri on IO#puts: Writes the given objects to ios as with IO#print. Writes a record separator (typically a newline) after any that do not already end with a newline sequence. So your explicit \n is getting eaten. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav