W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2009

Re: FYI: Mozilla's Resource Packages

From: Alexander Limi <limi@mozilla.com>
Date: Tue, 17 Nov 2009 22:20:25 +0000
Message-ID: <2ef6228a0911171419q7d0fe240p5f5e7425b066f502@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Anthony Bryan <anthonybryan@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
2009/11/17 Julian Reschke <julian.reschke@gmx.de>

> Questions that come to mind:
> (1) Is this specific to HTML? If yes, shouldn't it be proposed to the HTML
> WG?

Possibly? I don't know much about how these things happen, standards-wise.

> (2) The link relation itself should be format-agnostic. It's ok to limit
> deployment and implementation to application/zip for now, though.

Right. If there's ever a newer, widely supported compression format that did
the same thing, that would work too.

> (3) Related to that, the "type" parameter on the HTML link element is
> optional in HTML4 as well.

Good to know, thanks. I'll make it optional and let the implementation
assume application/zip unless otherwise specified, then.

> (4) I have trouble understanding...:
> "You can specify a charset in the resource package definition. If
> unspecified, it is assumed that any non-binary files inside are UTF-8."
> Is this about the manifest? This seems to be problematic, as charset
> handling would be different from local file resources (I do agree that
> encouraging UTF-8 is good, though)

The manifest probably has to be ASCII (using quoted values like %20 for
spaces etc), sorry about not specifying that.

The UTF-8 default is for any other file in the zip, like JS or CSS, or even
HTML files, should that be useful.

(5) How do non-URL characters in filenames in the ZIP map to URLs in
> content? It appears that a default encoding needs to be defined (such as
> ->UTF-8->percent-escaped).

Percent-escaping would be my initial suggestion, but I don't know enough
about any potential issues here if we choose to go that route. I agree that
it needs to be defined, though.

Alexander Limi · Firefox User Experience · http://limi.net
Received on Wednesday, 18 November 2009 08:27:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:52 UTC