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 b496cf6 commit d1af58aCopy full SHA for d1af58a
dist/angular-file-upload.js
@@ -64,6 +64,7 @@ angularFileUpload.service('$upload', ['$http', '$rootScope', '$timeout', functio
64
return promise;
65
};
66
this.upload = function(config) {
67
+ config.headers = config.headers || {};
68
config.headers['Content-Type'] = undefined;
69
config.transformRequest = config.transformRequest || $http.defaults.transformRequest;
70
var formData = new FormData();
0 commit comments