21
25
functioning Web servers. See the :mod:`SimpleHTTPServer` and
22
26
:mod:`CGIHTTPServer` modules.
25
29
subclass. It creates and listens at the HTTP socket, dispatching the requests
26
30
to a handler. Code to create and run the server looks like this::