【发布时间】:2018-08-13 05:17:49
【问题描述】:
我正在跑步:
python manage.py runserver localhost:44100
这会将我重定向到https:
» http http://localhost:44100/
HTTP/1.0 301 Moved Permanently
Content-Type: text/html; charset=utf-8
Date: Mon, 05 Mar 2018 14:09:09 GMT
Location: https://localhost:44100/
Server: WSGIServer/0.1 Python/2.7.14
X-Frame-Options: SAMEORIGIN
为什么/如何发生这种情况?什么设置控制Django 是否接受http / https?
【问题讨论】:
标签: python django http redirect https