Open
Description
https://github.com/dadrian/https-upgrade/blob/main/explainer.md proposes a change where eligible (top level frame, GET) HTTP navigation requests are upgraded to HTTPS, and fallback to the original HTTP URL if the fetch over HTTPS fails. This prevents users from making any unnecessary insecure connections since HTTPS will always be used for sites that support it.
This change requires modifying the fetch standard by:
- Adding an “HTTPS Upgrading” algorithm that defines which types of requests should be upgraded.
- Adding a “Fallback” algorithm that defines how a failed upgrade should be handled.
- Adding a new step to Main Fetch (after the existing step 5) that optionally runs the “HTTPS Upgrading” algorithm on the request.
- Adding a new step to HTTP Fetch that optionally runs the “Fallback” algorithm.