AJAX Request From HTTPS Page to HTTP Url

和自甴很熟 提交于 2019-12-23 09:02:14

问题


I have a case where I need to perform an AJAX request from an HTTPS page to another one (on a different domain) that is not secure. We've already implemented CORS policy and it was working fine before using HTTPS on our website. Is there any way to make this work?


回答1:


According to W3, it's not possible through a COR policy due to "certificate errors" http://www.w3.org/TR/access-control/#user-agent-security



来源:https://stackoverflow.com/questions/14703549/ajax-request-from-https-page-to-http-url

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!