Skip to content

Commit 25a525b

Browse files
authored
Simplify the warning for http.server. (#10116)
1 parent a05bef4 commit 25a525b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Doc/library/http.server.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ This module defines classes for implementing HTTP servers (Web servers).
1919

2020
.. warning::
2121

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.
25-
22+
:mod:`http.server` is not recommended for production. It only implements
23+
basic security checks.
2624

2725
One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.
2826
It creates and listens at the HTTP socket, dispatching the requests to a

0 commit comments

Comments
 (0)