W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: [FileAPI] File.mediaType

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 10 Nov 2009 12:36:34 -0500
Message-ID: <4AF9A4A2.8060508@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: WebApps WG <public-webapps@w3.org>
On 11/10/09 11:58 AM, Anne van Kesteren wrote:
> True, can you ever get this situation when reading a file from disk?

I'm not sure what you're asking...  When loading a file from disk, the 
type is always unknown and has to be determined by the UA somehow, no?

> Sure, but there's also <style>.type, <script>.type, <link>.type, etc. I
> don't see a reason to be inconsistent with that.

That's fine, as long as we're clear that this will create a certain 
amount of confusion, due to people having a preconceived notion of "file 
type" that doesn't include MIME in any way.

Received on Tuesday, 10 November 2009 17:37:37 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:20 UTC