Prohibit casting HTTP requests to HTTPS requests

Source: Internet
Author: User

Recently encountered a problem, the HTTP request launched in Google Browser will be converted to HTTPS request, but in Safari will not be converted, so temporarily can only be used in Safari browser debugging, but also to see why the HTTP is forced to convert to HTTPS requests, But on the Internet to find the solution is wrong, and later found to be a meta-tag problem, the code is: <meta http-equiv= "Content-security-policy" content= " Upgrade-insecure-requests ", as long as this code is removed, you can prohibit the HTTP request to be cast to the HTTPS request, but according to the test, this code is only in Google browser surface useful.

Prohibit casting HTTP requests to HTTPS requests

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.