W3C home > Mailing lists > Public > public-html@w3.org > December 2009

http content type authoritative for object data?

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 08 Dec 2009 17:32:11 +0100
Message-ID: <4B1E7F8B.9020707@gmx.de>
To: "public-html@w3.org" <public-html@w3.org>

HTML4 said:

"type = content-type [CI]

This attribute specifies the content type for the data specified by 
data. This attribute is optional but recommended when data is specified 
since it allows the user agent to avoid loading information for 
unsupported content types. If the value of this attribute differs from 
the HTTP Content-Type returned by the server when the object is 
retrieved, the HTTP Content-Type takes precedence." -- 

HTML5 has in 

"3. If there is a type attribute present on the object element, and that 
attribute's value is not a type that the user agent supports, but it is 
a type that a plugin supports, then let the resource type be the type 
specified in that type attribute.

4. Otherwise, if the resource type is unknown, and the resource has 
associated Content-Type metadata, then let the resource type be the type 
specified in the resource's Content-Type metadata."

This suggests that when @type is present, the associated content type 
information (for instance HTTP Content-Type) is ignored, which seems to 
be both an incompatible change, and violate the "authoritative metadata 

Was this discussed somewhere? It it *implemented* this way?

Best regards, Julian
Received on Tuesday, 8 December 2009 16:33:53 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:04 UTC