提交 876d441e 编写于 作者: M Matthew Andrews

If cors, with credentials

上级 9a1ef9d4
......@@ -240,6 +240,9 @@
return new Promise(function(resolve, reject) {
var xhr = new XMLHttpRequest()
if (self.credentials === 'cors') {
xhr.withCredentials = true;
}
function responseURL() {
if ('responseURL' in xhr) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册