Re: mod_ruby triggers Bug in IE 6.0

Brian Candler <[email protected]> Fri, 19 May 2006 09:23:50 +0100
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
On Fri, May 19, 2006 at 09:51:57AM +0200, Hannes Wyss wrote:
> Afaik nothing in the relevant standards says
> that charset encodings should be specified in lowercase

Explicitly they are case-insensitive, see
http://www.iana.org/assignments/character-sets
(second paragraph), which you could interpret as meaning that mod_ruby is
entitled to lowercase it, and that IE is broken.

However, RFC 2616 (section 3.7) says of the rest of the Content-Type header:

   The type, subtype, and parameter attribute names are case-
   insensitive. Parameter values might or might not be case-sensitive,
   depending on the semantics of the parameter name.

So there might be cases other than charset where the parameter value *is*
case sensitive, and therefore IMO mod_ruby should not be blindly lowercasing
the whole line.

Just my opinion...

Brian.