Skip to content

Commit eeab510

Browse files
authored
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.
1 parent 0bd4826 commit eeab510

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎Doc/library/http.server.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
This module defines classes for implementing HTTP servers (Web servers).
1818

19-
Security Considerations
20-
-----------------------
2119

22-
http.server is meant for demo purposes and does not implement the stringent
23-
security checks needed of real HTTP server. We do not recommend
24-
using this module directly in production.
20+
.. warning::
21+
22+
:mod:`http.server` is meant for demo purposes and does not implement the
23+
stringent security checks needed of a real HTTP server. We do not recommend
24+
using this module directly in production.
2525

2626

2727
One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.

0 commit comments

Comments
 (0)