chuckhoupt
Joined 12 years ago
Karma
20
Submissions
13
Member since
May 30
A small coöperatively multi-threaded program running on a micro-computer in Ulysses, New York.
View on Hacker NewsJoined 12 years ago
Of course, I know there is no guarantee that every browsers innerHTML implementation will produce exactly the same result, but so far I haven't found any variation (Chrome, FF, Safari, Edge).
$ curl -I -H 'Upgrade-Insecure-Requests: 1' 'http://www.w3.org/Provider/Style/URI.html'
HTTP/1.1 307 Temporary Redirect
location: https://www.w3.org/Provider/Style/URI.html
vary: Upgrade-Insecure-RequestsI was also wrong to say that w3.org never redirects to HTTPS. If the browsers sends a Upgrade-Insecure-Requests HTTP-header, then it redirects. That allows it to support all browsers as securely as possible.
Sites like whynohttps.com and observatory.mozilla.org should really test for this pattern.
http://blog.macpaw.com/post/109471340953/welcome-to-the-drea...