具有相同网域的同源策略,但https(Same origin policy with same domain, but https)
我想从http://www.somedomain.com到https://www.somedomain.com进行网络服务呼叫
如果没有设置测试的麻烦,有人可以证实这是否会被视为同一起源?
我的假设是这样可以,因为在这种情况下Cookie成功共享。
I'd like to make a web service call from http://www.somedomain.com to https://www.somedomain.com
Without going to the trouble of setting up a test, could someone confirm if this will be considered the same origin?
My assumption is that this will be fine, seeing as cookies are shared successfully in this situation.
最满意答案
不,它不会工作的url需要相同的域和相同的协议请参阅http://en.wikipedia.org/wiki/Same_origin_policy
No, it wont work the url needs the same domain and the same protocol see http://en.wikipedia.org/wiki/Same_origin_policy
更多推荐
发布评论