summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.server.rst
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-08-02 19:00:41 (GMT)
committerGitHub <noreply@github.com>2022-08-02 19:00:41 (GMT)
commite3b6ff19aaa318a813130ba9ad2ab0a332f27feb (patch)
treef67037e53dcc5f0249e84aece4fac7d53d3946f5 /Doc/library/http.server.rst
parent75a6441718dcbc65d993c9544e67e25bef120e82 (diff)
downloadcpython-e3b6ff19aaa318a813130ba9ad2ab0a332f27feb.zip
cpython-e3b6ff19aaa318a813130ba9ad2ab0a332f27feb.tar.gz
cpython-e3b6ff19aaa318a813130ba9ad2ab0a332f27feb.tar.bz2
gh-95451: Update docs for wasm32-emscripten and -wasi platforms (GH-95452)
Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Michael Droettboom <mdboom@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to 'Doc/library/http.server.rst')
-rw-r--r--Doc/library/http.server.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 3bb7294..48f952d 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -22,6 +22,8 @@ This module defines classes for implementing HTTP servers.
:mod:`http.server` is not recommended for production. It only implements
:ref:`basic security checks <http.server-security>`.
+.. include:: ../includes/wasm-notavail.rst
+
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::