diff options
author | Senthil Kumaran <skumaran@gatech.edu> | 2018-10-20 11:32:07 -0700 |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2018-10-25 18:00:49 -0700 |
commit | 859ac71db6dd35bb7e7119d95180e341bc2aa549 (patch) | |
tree | d315c62e336256ff0c409ab9299710064bcdc1b7 | |
parent | 4a59c9699ca8688359c460f98127a12e2db6e63b (diff) | |
download | cpython-git-859ac71db6dd35bb7e7119d95180e341bc2aa549.tar.gz |
bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005)
(cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b)
-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 2e7e97ace6..df8699e114 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 |