]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.6] - bpo-34576 : Backport eeab510 3.6 (GH-10113)
authorSenthil Kumaran <skumaran@gatech.edu>
Fri, 26 Oct 2018 17:12:29 +0000 (10:12 -0700)
committerGitHub <noreply@github.com>
Fri, 26 Oct 2018 17:12:29 +0000 (10:12 -0700)
* bpo-34576 - Fix the formatting for security considerations in http.server.rst (GH-10005)

(cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b)

Doc/library/http.server.rst

index b29020bc7ca5cab614d529e64363b7d0c1b07175..2d1a96d7bba45ef6aea4b0c9ce0f52c423380d2f 100644 (file)
 
 This module defines classes for implementing HTTP servers (Web servers).
 
+.. warning::
+
+    :mod:`http.server` is not recommended for production. It only implements
+    only basic security checks.
+
 One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.
 It creates and listens at the HTTP socket, dispatching the requests to a
 handler.  Code to create and run the server looks like this::