]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[2.7] bpo-34576 : Backport eeab510 2.7 (#10115)
authorSenthil Kumaran <skumaran@gatech.edu>
Fri, 26 Oct 2018 08:27:09 +0000 (01:27 -0700)
committerGitHub <noreply@github.com>
Fri, 26 Oct 2018 08:27:09 +0000 (01:27 -0700)
* 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 <skumaran@gatech.edu>
Doc/library/simplehttpserver.rst

index 2e7e97ace6d7e11043581dd47817ab11a2435a85..df8699e114551be6c43767a62fc2251a2db80f33 100644 (file)
    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