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

Re: review of content type rules by IETF/HTTP community

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sat, 25 Aug 2007 14:56:47 +0200
Message-ID: <46D0270F.3070406@gmx.de>
To: Magnus Kristiansen <magnusrk+w3c@pvv.org>
CC: public-html@w3.org

Magnus Kristiansen wrote:
>> Magnus Kristiansen wrote:
>>> ...
>>>> Well, at least for Apache httpd the default is *not* to send a 
>>>> content-type response header when the type is unknown. As far as I 
>>>> can tell, we're discussing something completely different here: 
>>>> servers that send an incorrect type.
>>>  This does not match my tests. I removed my custom types, and as 
>>> expected .wmv was served as text/plain. Not just displayed as text, 
>>> an explicit content-type header.
>> That would IMHO be a really bad bug.
>> Doesn't match what I am seeing though. Are you using Apache 2.2?
>> Best regards, Julian
> I see the same behavior on my university's 2.0.49, my own 2.2.3 and a 
> vanilla 2.2.4 I installed now just to check.


I have to apologize, you are right. I was testing with an empty file, 
and it seems Firefox' content sniffing kicked in.

So instead of bashing the user agents for doing content sniffing, should 
we bash the Apache developers for setting "DefaultType" to "text/plain". 
It seems so.

Best regards, Julian
Received on Saturday, 25 August 2007 12:57:06 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:25 UTC