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

On 10/4/13 7:54 AM, "Boris Zbarsky" <bzbarsky@MIT.EDU> wrote:

>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.

I'd agree, but they don't seem to be now (I think, I need to do some
testing). I'll come up with a test case and write some bugs if necessary.

Thanks,
Brian

Received on Friday, 4 October 2013 23:57:44 UTC