Thought I’d share a quick nugget and link. I’ve had hell the last couple of days getting binary file uploads working against the REST API. As soon as I bypassed jQuery and used XHR2 it worked first time!
I’d highly recommend this excellent introduction to file handling in XHR2 (one of the many specs included in the general discussion of HTML5). Infinitely better than reading the many contradictory posts on Stack Overflow.