[whatwg] what happened to sendAsBinary?

narendra sisodiya narendra at narendrasisodiya.com
Wed Jun 30 13:14:04 PDT 2010


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


More information about the whatwg mailing list