From: Hugh Sasse Staff Elec Eng Date: 2002-04-15T22:11:28+09:00 Subject: Re: mime type On Mon, 15 Apr 2002, 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. Also, according to RFC 2045 content := "Content-Type" ":" type "/" subtype *(";" parameter) ; Matching of media type and subtype ; is ALWAYS case-insensitive. but the Content-Type pattern itself is not -- i.e. the caps are needed. I'm fairly sure about that, anyway. Said he, jumping into the middle of this thread. > > 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 Hugh