- From: Toni Ruottu <toni.ruottu@iki.fi>
- Date: Tue, 6 Jul 2010 17:11:50 +0300
I was looking at jquery, but I am not sure it works. The problem is that jqeury serializes a web form, where it enters the data in a field. We need to send the binary data alone. --Toni On Wed, Jun 30, 2010 at 11:14 PM, narendra sisodiya <narendra at narendrasisodiya.com> wrote: > > > 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 > ??????????????????????????? >
Received on Tuesday, 6 July 2010 07:11:50 UTC