W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: [File API] data URL method

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 2 Jul 2009 19:48:13 +0000 (UTC)
To: Jonas Sicking <jonas@sicking.cc>
Cc: Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0907021944030.1053@hixie.dreamhostps.com>
On Thu, 2 Jul 2009, Jonas Sicking wrote:
> This would be a more interesting discussion if someone could actually 
> come up with a spec for localURL :)

Other than lifetime, is there anything major missing from the description 
I sent originally?


> Mostly it's the lifetime issue that concerns me. How long is such a URL 
> expected to work,


> and how do we prevent people from using it longer than that?

We don't need to. After it has expired it would act exactly like one of 
these URIs with a bogus handle. e.g. if the URIs created by this API are 
of the form local-file:93875, and that is the only particular one that has 
ever been handed back, then local-file:00000 would return the equivalent 
of a 404 or DNS error or some such. Then when a URL expires, it goes from 
working normally to that error state.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 2 July 2009 19:48:49 UTC

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