Bundled output for commit d50d53f31d [skip ci]
This commit is contained in:
parent
d50d53f31d
commit
684a394d97
3 changed files with 48 additions and 47 deletions
|
|
@ -294,6 +294,7 @@ var _8 = function($window, Promise) {
|
|||
xhr.setRequestHeader("Accept", "application/json, text/*")
|
||||
}
|
||||
if (args.withCredentials) xhr.withCredentials = args.withCredentials
|
||||
if (args.timeout) xhr.timeout = args.timeout
|
||||
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