Skip to content

Commit

Permalink
Merge pull request #85 from axios/master
Browse files Browse the repository at this point in the history
Create a new pull request by comparing
  • Loading branch information
GulajavaMinistudio committed Oct 19, 2020
2 parents 46c968e + 9a78465 commit 1d9ddf7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/adapters/xhr.js
Expand Up @@ -18,13 +18,6 @@ module.exports = function xhrAdapter(config) {
delete requestHeaders['Content-Type']; // Let the browser set it
}

if (
(utils.isBlob(requestData) || utils.isFile(requestData)) &&
requestData.type
) {
delete requestHeaders['Content-Type']; // Let the browser set it
}

var request = new XMLHttpRequest();

// HTTP basic authentication
Expand Down

0 comments on commit 1d9ddf7

Please sign in to comment.