From: Senthil Kumaran Date: Fri, 26 Oct 2018 08:27:09 +0000 (-0700) Subject: [2.7] bpo-34576 : Backport eeab510 2.7 (#10115) X-Git-Tag: v2.7.16rc1~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=971089fc2a09e4bcb872efac52c1b014af16fff9;p=thirdparty%2FPython%2Fcpython.git [2.7] bpo-34576 : Backport eeab510 2.7 (#10115) * bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005) * Address review comment.. (cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b) Co-authored-by: Senthil Kumaran --- diff --git a/Doc/library/simplehttpserver.rst b/Doc/library/simplehttpserver.rst index 2e7e97ace6d7..df8699e11455 100644 --- a/Doc/library/simplehttpserver.rst +++ b/Doc/library/simplehttpserver.rst @@ -11,6 +11,10 @@ Python 3. The :term:`2to3` tool will automatically adapt imports when converting your sources to Python 3. +.. warning:: + + mod:`SimpleHTTServer` is not recommended for production. It only implements + basic security checks. The :mod:`SimpleHTTPServer` module defines a single class, :class:`SimpleHTTPRequestHandler`, which is interface-compatible with