如果当前页面时http,若发起的请求时https,可以~;
如果当前页面时https,若发起的请求时http,不可以~;会提示:“The page at 'https://xxx' was loaded over HTTPS, but displayed insecure content from 'http://www.baidu.com/img/baidu_jgylogo3.gif': this content should also be loaded over HTTPS.”
如果当前页面时http,若发起的请求时https,可以~;
如果当前页面时https,若发起的请求时http,不可以~;会提示:“The page at 'https://xxx' was loaded over HTTPS, but displayed insecure content from 'http://www.baidu.com/img/baidu_jgylogo3.gif': this content should also be loaded over HTTPS.”