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

[whatwg] what happened to sendAsBinary?

From: narendra sisodiya <narendra@narendrasisodiya.com>
Date: Thu, 1 Jul 2010 01:44:04 +0530
Message-ID: <AANLkTine-F4o69r9mLAB-EraxizzzuH3i3u5cNE-rsmW@mail.gmail.com>
On Wed, Jun 30, 2010 at 3:57 PM, Toni Ruottu <toni.ruottu at iki.fi> wrote:

>  hello
>
> We are trying to code an application that needs to send some binary
> data from javascript to a http server. The server is expecting to
> receive the data in the body of the request, and for the body to not
> include anything other than the raw data. In the old world you would
> do this with the sendAsBinary function, available at least in Firefox.
> How would you do the same thing with XHR2?
>
>  cheers, --Toni
>

I guess, xhr.sendAsBinary() shoud work

search for string "xhr.sendAsBinary" in following code link
http://code.google.com/p/jquery-html5-upload/issues/attachmentText?id=9&aid=-4788561921002613366&name=jquery.html5_upload.js&token=279fec81f59a07b7c79ae3ffb7cb9654

-- 
???????????????????????????
?    Narendra Sisodiya
?    http://narendrasisodiya.com
???????????????????????????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100701/56573106/attachment.htm>
Received on Wednesday, 30 June 2010 13:14:04 UTC

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