W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2013

Re: [whatwg] Zip archives as first-class citizens

From: Robin Berjon <robin@w3.org>
Date: Fri, 13 Sep 2013 12:12:21 +0200
Message-ID: <5232E505.7040102@w3.org>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: WHATWG <whatwg@lists.whatwg.org>
On 29/08/2013 15:37 , Boris Zbarsky wrote:
> On 8/29/13 9:32 AM, Anne van Kesteren wrote:
>> Doing a mixture of sniffing and labeling has not served us very well.
>> We cannot rely solely on sniffing because of CSS and SVG. We can rely
>> solely on a standardized mapping table of extension to Content-Type.
>
> Ah, ok, the extension table is standardized, not gotten from the OS? OK,
> that works.

And shockingly enough, that's been done before:

 
http://www.w3.org/TR/widgets/#rule-for-identifying-the-media-type-of-a-file-0

There could be a few things worth pilfering from that document in general.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Friday, 13 September 2013 10:12:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:09 UTC