News for hackers. Stuff that matters.
Re:How to build an absurdly backwards-compatible website by pabs3 on Thursday May 05, 2022 @11:54PM (#31281138)
One other trick to do this is include a https resource (image/CSS/JS) in the http page, and on https use the HTTP header that forces https for the domain. So then if the resource loads successfully, future loads of the site go to https. Browsers that don't support Upgrade-Insecure-Requests often support the https-only header.

There are no comments on this comment yet.