mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
* bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005)
(cherry picked from commit eeab510bb7)
This commit is contained in:
parent
9080824513
commit
bb1876acd8
1 changed files with 5 additions and 0 deletions
|
|
@ -16,6 +16,11 @@
|
|||
|
||||
This module defines classes for implementing HTTP servers (Web servers).
|
||||
|
||||
.. warning::
|
||||
|
||||
:mod:`http.server` is not recommended for production. It only implements
|
||||
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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue