Marcos, Stuart, On Dec 1, 2008, at 5:29 AM, ext Williams, Stuart (HP Labs, Bristol) wrote: >> From: Marcos Caceres [mailto:marcosscaceres@gmail.com] >> >> Unfortunately, widgets/zip do not maintain media-type information. >> That information is derived from content-type sniffing heuristics as >> defined in HTML5 [1]. > > Well there are ways around that, add a package description or meta- > data file either at the root of the package or at each directory > level and have it carry media-type information - or use 'magic > numbers' or (if you really must - in the absense of other > authoritative information), sniff/guess though I think that should > be the least preferred option. > > Anyway - that zip files don't intrinically maintain such info is > not a show stopper - though I would have thought that carrying > media-type information is a natural requirement for a packaging > format for the web. It seems like adding such a meta-data file would increase the complexity of authoring and implemenation and thus be contrary to at least our "Ease of use" design goal [1]. -Regards, Art Barstow [1] <http://www.w3.org/TR/widgets-reqs/#design>Received on Monday, 1 December 2008 15:10:28 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:43:01 GMT