visionmedia/superagent — pull request #393 by vstirbu (2014-06-05 13:28:50+00:00)
Title: client: add xhr2 file download

adds ability for the client to download files as ```arraybuffer``` or ```blob```:

```javascript
request.parse['myFileMimetype'] = function(obj) {
return obj;
}

request
.get('/arraybuffer')
.on('request', function () {
this.xhr.responseType = 'arraybuffer'; // or blob
})
.end(function(res) {
// now res.body is an arraybuffer or a blob
});
```