Ask a cross-domain question, does http://www.baidu.com request https://www.baidu.com cross-domain?

is the domain name of http that requests the domain name of https. Is this cross-domain, and why?

Dec.02,2021

Cross-domain.
different sources (domain name, protocol, port).
Protocol: http,https.

conditions that trigger cross-domain also include
domain name:
https://www.baidu1.com
https://www.baidu2.com
port:
https://www.baidu.com:3000
https://www.baidu.com:3001


http protocol is different, cross-domain

Menu