W3C home > Mailing lists > Public > www-tag@w3.org > December 2009

ACTION-308 (part 1) - Updates to Authoritative Metadata

From: John Kemp <john@jkemp.net>
Date: Thu, 31 Dec 2009 12:43:22 -0500
Message-Id: <ABBA5CBD-2D7D-4307-94B6-B4D391EB3B8D@jkemp.net>
To: "www-tag@w3.org WG" <www-tag@w3.org>
Hello,

Below are proposed updates to the Authoritative Metadata Finding [AuthMeta] to "acknowledge the reality of sniffing":

Regards,

- johnk

(begin proposed changes)

1. 

Section 3.4 What to do when there is no authoritative metadata

Replace:

That is why the HTTP/1.1 specification [RFC2616] states:

"If and only if the media type is not given by a "Content-Type"
field, the recipient MAY attempt to guess the media type via inspection of
its content and/or the name extension(s) of the URI used to identify the
resource."

With:

That is why [HTTPbis] states:

"If the Content-Type header field is not present, it indicates that the sender does not know the media type of the data; recipients MAY either assume that it is "application/octet-stream" or examine the content to determine its type."

SInce the examination of content to determine its type has a certain security risk (see [REF]) it is important that Web agents follow a common and secure algorithm such as [BarthSniff] for determining the content type. 

2. 

Section 4 Overriding authoritative metadata

After paragraph: 

Recipients SHOULD detect inconsistencies between representation data and metadata but MUST NOT resolve them without the consent of the user. Choosing to ignore or override authoritative metadata is only allowed within the Web architecture when the user has given consent.

Add:

In such cases where a recipient ignores or overrides authoritative metadata by examining content to determine its type, the recipient should follow an accepted and secure algorithm such as [BarthSniff] (as noted also in the previous section). 

3. 

References

Add:

[REF] (find a good description of the specific issue)
[HTTPbis] http://tools.ietf.org/id/draft-ietf-httpbis-p3-payload-08.txt
[BarthSniff] http://tools.ietf.org/html/draft-abarth-mime-sniff-03

(end of proposed changes)






 
Received on Thursday, 31 December 2009 17:43:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:48:18 GMT