From: Senthil Kumaran Date: Fri, 26 Oct 2018 13:43:37 +0000 (-0700) Subject: Simplify the warning for http.server. (#10116) X-Git-Tag: v3.8.0a1~667 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25a525bf5a9c630a992d2048d863841481004465;p=python Simplify the warning for http.server. (#10116) --- diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index 45bb529f8c..29f6e7da3b 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