W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2010

[whatwg] constructing a FileAPI blob for XHR2

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 25 Jul 2010 07:58:24 -0400
Message-ID: <4C4C26E0.8090502@mit.edu>
On 7/25/10 4:44 AM, Toni Ruottu wrote:
> I am hoping that I could, in the future, send arbitrary binary data
> with XHR. The XHR level 2 specification tells me that to send binary
> data I need to do send(blob). Blob is defined in FileAPI which tells
> me how to read data to a blob from the hard disk.

Various other specifications describe other ways of producing Blobs 
(e.g. the Capture API has some ways that don't involve files).  It 
should be pretty straightforward to define some ways to create Blobs 
from in-memory data, if there's nothing out there yet that does so.

-Boris
Received on Sunday, 25 July 2010 04:58:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:25 UTC