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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 26 Aug 2007 13:01:59 -0500
Message-ID: <46D1C017.3010405@mit.edu>
To: Robert Burns <rob@robburns.com>
CC: public-html@w3.org

Robert Burns wrote:
> However, after further testing, both Opera and Firefox treat the file as 
> HTML. Here's the HTTP header's they get that they treat as HTML

> Content-Type: unknown

Since that can't actually be parsed as a content type (no '/', for 
example), this is treated identically to a missing Content-Type header 
by Firefox.

Which is what you should do if you don't know the type.  No need to 
invent an "unknown" type.

Received on Sunday, 26 August 2007 18:02:23 UTC

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