开发者

Is an AJAX call cross-domain if only the port is different?

开发者 https://www.devze.com 2023-01-04 01:21 出处:网络
The main page is www.myserver.com:80 and the ajax references www.myserver.com:8081. The status code is 0 开发者_如何转开发and the text is null.Is this a cross domain denial?Yes, this violates the sam

The main page is www.myserver.com:80 and the ajax references www.myserver.com:8081.

The status code is 0 开发者_如何转开发and the text is null. Is this a cross domain denial?


Yes, this violates the same origin policy.

0

精彩评论

暂无评论...
验证码 换一张
取 消