W3C home > Mailing lists > Public > public-html@w3.org > November 2007

Re: Format for type attribute value

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 20 Nov 2007 11:58:41 +0100
To: "Boris Zbarsky" <bzbarsky@mit.edu>, "Julian Reschke" <julian.reschke@gmx.de>
Cc: "HTML WG" <public-html@w3.org>
Message-ID: <op.t127f32f64w2qv@annevk-t60.oslo.opera.com>

On Tue, 20 Nov 2007 05:16:40 +0100, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
> Julian Reschke wrote:
>> Multiple media-type values? What would that be good for?
>
> Rendering the web?  In particular, it's not uncommon for servers (esp.  
> when CGIs are involved) to produce things like:
>
>    Content-Type: text/html; charset=ISO-8859-1
>    Content-Type: text/plain
>
> which then get normalized to:
>
>    Content-Type: text/html; charset=ISO-8859-1, text/plain
>
> Not sure where that normalization happens offhand (server end or Gecko  
> end).

I once did some basic testing on this[1] and when you're sending the  
non-normalized version from the server Internet Explorer will pick the  
first Content-Type header and Firefox and Opera the second. For the  
Location header Internet Explorer and Opera pick the first and Firefox the  
second.


[1]<http://annevankesteren.nl/2007/10/http-interoperability>


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 20 November 2007 10:58:39 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:24 UTC