W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [FileAPI] Blob.URN?

From: Darin Fisher <darin@chromium.org>
Date: Tue, 30 Mar 2010 14:57:07 -0700
Message-ID: <v2ibd8f24d21003301457l8f5bdf6bv7c267a9f618fa443@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Web Applications Working Group WG <public-webapps@w3.org>, Eric Uhrhane <ericu@google.com>
On Tue, Mar 30, 2010 at 12:22 AM, Jonas Sicking <jonas@sicking.cc> wrote:

> On Tue, Mar 23, 2010 at 2:23 PM, Darin Fisher <darin@chromium.org> wrote:
> > Apologies if this has been discussed before, but I'm curious why URN is
> not
> > a property of Blob.  It seems like it would be useful to be able to load
> a
> > slice of a File.  For example, this could be used by an application to
> fetch
> > all of its subresources out of a single file.
>
> IIRC originally it was placed on File since Blobs do not have a
> content type. However I think there is general agreement that it
> should be moved to Blob.
>
> However it would be great to be able to assign a content type to a
> Blob. Possibly slice() could take a optional argument.
>
>
Adding an optional parameter to slice() sounds attractive indeed.

BlobBuilder [1] should probably also have such an optional argument.

-Darin

[1]
http://dev.w3.org/2009/dap/file-system/file-writer.html#the-blobbuilder-interface
Received on Tuesday, 30 March 2010 21:57:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:37 GMT