Re: [whatwg] constructing a FileAPI blob for XHR2

2010-07-26 Thread Dmitry Titov
Perhaps BlobBuilder from this specis the closest API to what you describe, if it doesn't fit your use case - please describe the case so the spec authors could consider it. On Sun, Jul 25, 2010 at 4:58 AM, Boris Zbarsky wrote: > On 7/25/10

Re: [whatwg] constructing a FileAPI blob for XHR2

2010-07-25 Thread Boris Zbarsky
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.

[whatwg] constructing a FileAPI blob for XHR2

2010-07-25 Thread Toni Ruottu
hello 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. Now, my problem is that I have th