Re: Format for type attribute value

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 
specified).

Best regards, julian

Received on Tuesday, 20 November 2007 11:11:32 UTC