Re:API Shouldn't Redirect HTTP to HTTPS
by LinAGKar on Wednesday May 29, 2024 @02:54AM
(#40509242)
The HSTS header is only effective when it's received over HTTPS. And if it has taken effect, the client won't try to access HTTP anymore, so it won't even know what response it would have gotten from HTTP.
[ Parent
| on HN ]
There are no comments on this comment yet.