File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,11 @@ handler. Code to create and run the server looks like this::
3737
3838 This class is identical to HTTPServer but uses threads to handle
3939 requests by using the :class: `~socketserver.ThreadingMixin `. This
40- is usefull to handle web browsers pre-opening sockets, on which
41- :class: `HTTPServer ` would wait indefinitly.
40+ is useful to handle web browsers pre-opening sockets, on which
41+ :class: `HTTPServer ` would wait indefinitely.
42+
43+ .. versionadded :: 3.7
44+
4245
4346The :class: `HTTPServer ` and :class: `ThreadedHTTPServer ` must be given
4447a *RequestHandlerClass * on instantiation, of which this module
Original file line number Diff line number Diff line change 11http.server now exposes a ThreadedHTTPServer class and uses it when the
2- module is invoked to cope with web browsers pre-opening sockets.
2+ module is run with `` -m `` to cope with web browsers pre-opening sockets.
You can’t perform that action at this time.
0 commit comments