Skip to content

Commit bb1876a

Browse files
authored
[3.7] bpo-34576 : Backport eeab510 (#10114)
* bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005) (cherry picked from commit eeab510)
1 parent 9080824 commit bb1876a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎Doc/library/http.server.rst‎

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

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

19+
.. warning::
20+
21+
:mod:`http.server` is not recommended for production. It only implements
22+
basic security checks.
23+
1924
One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.
2025
It creates and listens at the HTTP socket, dispatching the requests to a
2126
handler. Code to create and run the server looks like this::

0 commit comments

Comments
 (0)