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 f756bd6 commit 22c28a2Copy full SHA for 22c28a2
lib/transports/polling-xhr.js
@@ -197,7 +197,7 @@ Request.prototype.create = function () {
197
xhr.open(this.method, this.uri, this.async);
198
try {
199
if (this.extraHeaders) {
200
- xhr.setDisableHeaderCheck(true);
+ xhr.setDisableHeaderCheck && xhr.setDisableHeaderCheck(true);
201
for (var i in this.extraHeaders) {
202
if (this.extraHeaders.hasOwnProperty(i)) {
203
xhr.setRequestHeader(i, this.extraHeaders[i]);
0 commit comments