[Python-checkins] [2.7] bpo-34576 : Backport eeab510 2.7 (#10115)

Senthil Kumaran webhook-mailer at python.org
Fri Oct 26 04:27:14 EDT 2018


https://github.com/python/cpython/commit/971089fc2a09e4bcb872efac52c1b014af16fff9
commit: 971089fc2a09e4bcb872efac52c1b014af16fff9
branch: 2.7
author: Senthil Kumaran <skumaran at gatech.edu>
committer: GitHub <noreply at github.com>
date: 2018-10-26T01:27:09-07:00
summary:

[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 at gatech.edu>

files:
M Doc/library/simplehttpserver.rst

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



More information about the Python-checkins mailing list