[Python-checkins] [3.7] bpo-34576 : Backport eeab510 (#10114)
Senthil Kumaran
webhook-mailer at python.org
Fri Oct 26 13:11:43 EDT 2018
https://github.com/python/cpython/commit/bb1876acd815a05744cea4a7d4098231ef499e52
commit: bb1876acd815a05744cea4a7d4098231ef499e52
branch: 3.7
author: Senthil Kumaran <skumaran at gatech.edu>
committer: GitHub <noreply at github.com>
date: 2018年10月26日T10:11:39-07:00
summary:
[3.7] bpo-34576 : Backport eeab510 (#10114)
* bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005)
(cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b)
files:
M Doc/library/http.server.rst
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 0bd7f778cec0..7e317cd8bc2b 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -16,6 +16,11 @@
This module defines classes for implementing HTTP servers (Web servers).
+.. warning::
+
+ :mod:`http.server` is not recommended for production. It only implements
+ basic security checks.
+
One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.
It creates and listens at the HTTP socket, dispatching the requests to a
handler. Code to create and run the server looks like this::
More information about the Python-checkins
mailing list