We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82eea27 commit ea29487Copy full SHA for ea29487
lib/transports/polling-xhr.js
@@ -341,7 +341,7 @@ Request.prototype.onLoad = function () {
341
contentType = this.xhr.getResponseHeader('Content-Type').split(';')[0];
342
} catch (e) {}
343
if (contentType === 'application/octet-stream') {
344
- data = this.xhr.response;
+ data = this.xhr.response || this.xhr.responseText;
345
} else {
346
if (!this.supportsBinary) {
347
data = this.xhr.responseText;
0 commit comments