coolaj86/dropshare — Issue #14: support single-file uploads (non-multipart)
Author: coolaj86
Created: 2011-11-14 23:11:59+00:00
State: open

As it turns out, browser support for `FormData().append(name, TypedArray | Blob | ArrayBuffer | String | File)` is in Limbo.

`String`, and `File` are supported and `Blob` may be, but `ArrayBuffer` may not be.

So in lieu of vigilant `webkitBlobBuilder`, `mozGetAsFile`, etc feature detection, it may be more convenient for a client to use `xhr.send()`, which does work fine with `ArrayBuffer`.