ContentSecurityPolicy.block_all_mixed_content()

Prevent loading any assets using HTTP when the page is loaded using HTTPS.

Usage

Source

ContentSecurityPolicy.block_all_mixed_content()

Deprecated in MDN’s reference; prefer modern HTTPS-only deployments and consider upgrade-insecure-requests instead when appropriate.