diff options
author | Senthil Kumaran <skumaran@gatech.edu> | 2018-10-26 08:27:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 08:27:09 (GMT) |
commit | 971089fc2a09e4bcb872efac52c1b014af16fff9 (patch) | |
tree | 193afb2bd8e31112bf8535c28ac75fb9c7a31e5e /Doc | |
parent | e131c7cf7893cdddc74caba2ca649b600dc6760b (diff) | |
download | cpython-971089fc2a09e4bcb872efac52c1b014af16fff9.zip cpython-971089fc2a09e4bcb872efac52c1b014af16fff9.tar.gz cpython-971089fc2a09e4bcb872efac52c1b014af16fff9.tar.bz2 |
[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 <skumaran@gatech.edu>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/simplehttpserver.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/simplehttpserver.rst b/Doc/library/simplehttpserver.rst index 2e7e97a..df8699e 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 |