From 4ef1f3099673838e70d0184279706a5a0673b7cf Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 25 Oct 2018 18:03:42 -0700 Subject: [PATCH] Simplify the warning for http.server. --- Doc/library/http.server.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 45bb529f8c07fa..29f6e7da3bde53 100644 --- a/Doc/library/http.server.rst +++ b/Doc/library/http.server.rst @@ -19,10 +19,8 @@ This module defines classes for implementing HTTP servers (Web servers). .. warning:: - :mod:`http.server` is meant for demo purposes and does not implement the - stringent security checks needed of a real HTTP server. We do not recommend - using this module directly in production. - + :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