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 Éloi Rivard)

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.

Change History (1)

comment:1 by Éloi Rivard, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top