3 ms·
Python comes with an HTTP server built-in! https://docs.python.org/3/library/http.server.html https://docs.python.org/3/library/http.server.html
by fortran77 4y ago
Python comes with an HTTP server built-in!
https://docs.python.org/3/library/http.server.html https://docs.python.org/3/library/http.server.html
- dangrie158 4y agoThis is a different scope aimed at hosting a production service. The Python included http Server is super useful but for completely different use cases.
- nicolaslem 4y agoThe standard lib equivalent would rather be wsgiref. https://docs.python.org/3/library/wsgiref.html https://docs.python.org/3/library/wsgiref.html
- cpach 4y agoYeah. AFAIK that one is not intended for prod.