Opened 9 years ago
Last modified 9 years ago
#25921 closed New feature
Make runserver handle HTTPS requests. — at Version 1
Reported by: | Éloi Rivard | Owned by: | nobody |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Normal | Keywords: | runserver, ssl, https |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Hi. The builtin manage.py check --deploy encourages to enable all the available securities, including SECURE_SSL_REDIRECT that actually redirect any non HTTP request to a HTTPS request. However manage.py runserver does not allow HTTPS requests. It is too bad that we cannot test all the available options in development before we deploy an app.
The existing django-sslserver solves the issue, quite simply. But on the other hand, manage.py runsslserver does not allow simple HTTP request.
I think this would be a good idea to enhance the current runsslserver with what we can find in django-sslserver, so in the end it can handle both HTTP and HTTPS requests.
I am OK to make a merge request if you are interested.