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