Issue 44169: Add HTTPS support to http.server - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Make http.server support SSL
View: 40990
Assigned To: Nosy List: Fred, remi.lapeyre
Priority: normal Keywords:

Created on 2021-05-18 10:22 by Fred, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg393867 - (view) Author: Fred (Fred) Date: 2021-05-18 10:22
The http.server module only supports HTTP.
https://docs.python.org/3/library/http.server.html

I propose that it should also support HTTPS.

This would allow it to serve files that depend on features that are restricted to secure contexts.
https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts/features_restricted_to_secure_contexts
msg394008 - (view) Author: Rémi Lapeyre (remi.lapeyre) * Date: 2021-05-20 10:21
This is already proposed in issue 40990 for which I am working on a PR.