diff options
author | Senthil Kumaran <skumaran@gatech.edu> | 2018-10-26 17:12:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 17:12:29 (GMT) |
commit | 8be1c043a6d10d375f7a73c681cb2d7ec2f2d361 (patch) | |
tree | c4ef1441ed4e315cadd4ac655a1c8a78a6e015cc | |
parent | 8b1f52b5a93403acd7d112cd1c1bc716b31a418a (diff) | |
download | cpython-8be1c043a6d10d375f7a73c681cb2d7ec2f2d361.zip cpython-8be1c043a6d10d375f7a73c681cb2d7ec2f2d361.tar.gz cpython-8be1c043a6d10d375f7a73c681cb2d7ec2f2d361.tar.bz2 |
[3.6] - bpo-34576 : Backport eeab510 3.6 (GH-10113)
* bpo-34576 - Fix the formatting for security considerations in http.server.rst (GH-10005)
(cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b)
-rw-r--r-- | Doc/library/http.server.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst index b29020b..2d1a96d 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 + only 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:: |