Bundled output for commit af90b6b4a6 [skip ci]
This commit is contained in:
parent
af90b6b4a6
commit
8ae094fd85
3 changed files with 10 additions and 8 deletions
|
|
@ -314,6 +314,8 @@ var _9 = function($window, Promise) {
|
|||
}
|
||||
if (args.withCredentials) xhr.withCredentials = args.withCredentials
|
||||
if (args.timeout) xhr.timeout = args.timeout
|
||||
|
||||
if (args.responseType) xhr.responseType = args.responseType
|
||||
for (var key in args.headers) if ({}.hasOwnProperty.call(args.headers, key)) {
|
||||
xhr.setRequestHeader(key, args.headers[key])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue