W3C home > Mailing lists > Public > www-tag@w3.org > December 2008

Re: Sketch of an idea to address widget/package addressing with fragID syntax and media-type defn.

From: John Kemp <john.kemp@nokia.com>
Date: Mon, 01 Dec 2008 12:10:00 -0500
Message-ID: <49341A68.70406@nokia.com>
To: "ext Williams, Stuart (HP Labs, Bristol)" <skw@hp.com>
CC: Marcos Caceres <marcosscaceres@gmail.com>, "www-tag@w3.org" <www-tag@w3.org>, public-webapps <public-webapps@w3.org>

Stuart,

ext Williams, Stuart (HP Labs, Bristol) wrote:

...

>>> 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.
>> Is it not the case that a zip file containing widgets is a
>> representation of an HTTP resource in its own right? If so, couldn't the
>> HTTP header returned in response to a request for that resource contain
>> an HTTP Link header [1] providing a link to another HTTP resource which
>> provides the package metadata, including links to the individual
>> resources contained within the zip file?
> 
> In principle that's a possibility - though it provides an opportunity for more failure modes
> (got the package, failed to get it's metadata) - and there will be the inevitable
> multiple round-trip concerns, though since the headers before the body metadata retrieval
> could be concurrent.

Indeed. Of course the metadata could still also be present inside the 
zip file in addition to being linked via the HTTP Link header.

Cheers,

- johnk
Received on Monday, 1 December 2008 17:11:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:48:08 GMT