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.
This commit is contained in:
Senthil Kumaran 2018-10-20 11:32:07 -07:00 committed by GitHub
parent 0bd4826d2d
commit eeab510bb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,12 +16,12 @@
This module defines classes for implementing HTTP servers (Web servers). This module defines classes for implementing HTTP servers (Web servers).
Security Considerations
-----------------------
http.server is meant for demo purposes and does not implement the stringent .. warning::
security checks needed of real HTTP server. We do not recommend
using this module directly in production. :mod:`http.server` is meant for demo purposes and does not implement the
stringent security checks needed of a real HTTP server. We do not recommend
using this module directly in production.
One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass. One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.