Simplify the warning for http.server. (#10116)

This commit is contained in:
Senthil Kumaran 2018-10-26 06:43:37 -07:00 • committed by GitHub
parent a05bef4f5b
commit 25a525bf5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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