From: Chris Date: 2002-04-16T12:23:11+09:00 Subject: Re: mime type In article , Hugh Sasse Staff Elec Eng wrote: > 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. I've never had a problem with "Content-type", for what it's worth.