summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.server.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <skumaran@gatech.edu>2018-10-20 18:32:07 (GMT)
committerGitHub <noreply@github.com>2018-10-20 18:32:07 (GMT)
commiteeab510bb7e51802c18b3770cbb23ae0ca91da6b (patch)
tree6cd77412efee0c791ef511eebff722af145ecc2e /Doc/library/http.server.rst
parent0bd4826d2dfc9122b056742a6ee75b8188d0d75b (diff)
downloadcpython-eeab510bb7e51802c18b3770cbb23ae0ca91da6b.zip
cpython-eeab510bb7e51802c18b3770cbb23ae0ca91da6b.tar.gz
cpython-eeab510bb7e51802c18b3770cbb23ae0ca91da6b.tar.bz2
bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005)
* bpo-34576 - Fix the formatting for security considerations in http.server.rst * Address review comment.
Diffstat (limited to 'Doc/library/http.server.rst')
-rw-r--r--Doc/library/http.server.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 0b93c62..45bb529 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -16,12 +16,12 @@
This module defines classes for implementing HTTP servers (Web servers).
-Security Considerations
------------------------
-http.server is meant for demo purposes and does not implement the stringent
-security checks needed of real HTTP server. We do not recommend
-using this module directly in production.
+.. warning::
+
+ :mod:`http.server` is meant for demo purposes and does not implement the
+ stringent security checks needed of a real HTTP server. We do not recommend
+ using this module directly in production.
One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.