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

Re: comments on draft-barth-mime-sniffing

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 17 Jul 2009 23:15:22 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: Anne van Kesteren <annevk@opera.com>, robert@ocallahan.org, David Singer <singer@apple.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, public-html@w3.org
Message-ID: <Pine.LNX.4.62.0907172311490.23663@hixie.dreamhostps.com>
On Tue, 30 Jun 2009, Boris Zbarsky wrote:
> Which raises an interesting question.  If a <video> points to data that 
> has Content-Type metadata that says it's application/octet-stream.... 
> I'd say that the UA should ignore that and look at the actual data just 
> like it would if the MIME type is not set.

What should canPlayType() say for application/octet-stream? "maybe"? I can 
define application/octet-stream as never being "a type that the user agent 
knows it cannot render", which would give this behaviour and would mean 
that user agents have to sniff.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 17 July 2009 23:15:58 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:51 UTC