且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Amazon AWS 307响应和永久重定向到HTTPS

更新时间:2023-02-15 13:31:03

它们都不是组件.

这不是来自AWS的东西,而是浏览器.这是浏览器正在生成的内部重定向,与HSTS相关... HTTP严格传输安全性.

This isn't anything from AWS... it's the browser. It's an internal redirect the browser is generating, related to HSTS... HTTP Strict Transport Security.

如果您现在不这样做,那么大概是在过去,您已经在该域的响应中生成了Strict-Transport-Security:标头,并且浏览器已经记住了这一事实,从而可以防止您不安全地访问该网站,按计划进行.

If you aren't doing it now, then presumably, in the past, you've generated a Strict-Transport-Security: header in responses from this domain, and the browser has remembered this fact, preventing you from accessing the site insecurely, as it is intended to do.