diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 0bd7f778cec0cf14bc14b1bbc4cc86565e47197a..7e317cd8bc2ba8dd75f281a6b7c0863a38b88b80 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -16,6 +16,11 @@ This module defines classes for implementing HTTP servers (Web servers). +.. warning:: + + :mod:`http.server` is not recommended for production. It only implements + basic security checks. + One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass. It creates and listens at the HTTP socket, dispatching the requests to a handler. Code to create and run the server looks like this::