6
我使用Python在Google App Engine上编写Web应用程序。 // [youraccount] .appspot.com访问和HTTPS:// [youraccount] .appspot.com的如何强制Google App Engine [python]使用SSL(https)?
如何重定向HTTP
用户可以在HTTP访问我的网站流量到https网站。
换句话说,如何强制该网站使用SSL(https)
为安全目的(以及更好的搜索引擎优化)?
值得注意的是,默认响应代码是'302',您可以使用'redirect_http_response_code:301'参数更改响应代码。 – 2017-10-29 16:25:10