summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.server.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <skumaran@gatech.edu>2018-10-26 13:43:37 (GMT)
committerGitHub <noreply@github.com>2018-10-26 13:43:37 (GMT)
commit25a525bf5a9c630a992d2048d863841481004465 (patch)
tree488f951f485e467341546d2a6325fc414d5d1fdf /Doc/library/http.server.rst
parenta05bef4f5be1bcd0df63ec0eb88b64fdde593a86 (diff)
downloadcpython-25a525bf5a9c630a992d2048d863841481004465.zip
cpython-25a525bf5a9c630a992d2048d863841481004465.tar.gz
cpython-25a525bf5a9c630a992d2048d863841481004465.tar.bz2
Simplify the warning for http.server. (#10116)
Diffstat (limited to 'Doc/library/http.server.rst')
-rw-r--r--Doc/library/http.server.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 45bb529..29f6e7d 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