10000 Merge branch 'fix#1603' of https://github.com/Tivix/axios into Tivix-… · darth-coder-js/axios@9b8e004 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b8e004

Browse files
committed
Merge branch 'fix#1603' of https://github.com/Tivix/axios into Tivix-fix#1603
2 parents 1f13dd7 + 24b44a6 commit 9b8e004

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/adapters/xhr.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ module.exports = function xhrAdapter(config) {
2828
}
2929
}
3030

31-
if (utils.isFormData(requestData)) {
32-
delete requestHeaders['Content-Type']; // Let the browser set it
33-
}
34-
3531
var request = new XMLHttpRequest();
3632

3733
// HTTP basic authentication

0 commit comments

Comments
 (0)
0