<br><br><div class="gmail_quote">On Wed, Jun 30, 2010 at 3:57 PM, Toni Ruottu <span dir="ltr"><<a href="mailto:toni.ruottu@iki.fi">toni.ruottu@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hello<br>
<br>
We are trying to code an application that needs to send some binary<br>
data from javascript to a http server. The server is expecting to<br>
receive the data in the body of the request, and for the body to not<br>
include anything other than the raw data. In the old world you would<br>
do this with the sendAsBinary function, available at least in Firefox.<br>
How would you do the same thing with XHR2?<br>
<br>
cheers, --Toni<br>
</blockquote></div><br><div>I guess, xhr.sendAsBinary() shoud work<br clear="all"></div><div><br></div><div>search for string "xhr.sendAsBinary" in following code link</div><div><a href="http://code.google.com/p/jquery-html5-upload/issues/attachmentText?id=9&aid=-4788561921002613366&name=jquery.html5_upload.js&token=279fec81f59a07b7c79ae3ffb7cb9654">http://code.google.com/p/jquery-html5-upload/issues/attachmentText?id=9&aid=-4788561921002613366&name=jquery.html5_upload.js&token=279fec81f59a07b7c79ae3ffb7cb9654</a></div>
<br>-- <br>┌─────────────────────────┐<br>│ Narendra Sisodiya<br>│ <a href="http://narendrasisodiya.com">http://narendrasisodiya.com</a><br>└─────────────────────────┘<br>