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

Re: Format for type attribute value

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 20 Nov 2007 12:11:14 +0100
Message-ID: <4742C0D2.8000700@gmx.de>
To: Anne van Kesteren <annevk@opera.com>
CC: Boris Zbarsky <bzbarsky@mit.edu>, HTML WG <public-html@w3.org>

Anne van Kesteren wrote:
> 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.

It would be interesting to

- *know* when this happens, and

- see how clients would behave if they would ignore the Content-Type 
header altogether (treating the message as if no content type was 

Best regards, julian
Received on Tuesday, 20 November 2007 11:11:32 UTC

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