summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.