Re: [FileAPI] Questions on using Blobs for img src and a href

On 10/4/13 10:48 AM, Kyle Huey wrote:
> If a File object (which has a name) is used instead of a Blob I think we
> should treat it as if something like "Content-Disposition:
> filename=$file.name <http://file.name>" was specified in an HTTP
> request.

Gecko does, because a bunch of servers send it.  See 
https://bugzilla.mozilla.org/show_bug.cgi?id=272541

And we support it by treating it identically to "Content-Disposition: 
inline; filename=whatever".  Which is how I believe named Blobs should 
be handled.

-Boris

Received on Friday, 4 October 2013 14:54:32 UTC