Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
79c3bab3
Commit
79c3bab3
authored
Mar 28, 2018
by
Julien Palard
Committed by
GitHub
Mar 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207)
parent
78553138
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
Doc/library/http.server.rst
Doc/library/http.server.rst
+5
-2
Misc/NEWS.d/next/Library/2017-12-27-21-55-19.bpo-31639.l3avDJ.rst
...S.d/next/Library/2017-12-27-21-55-19.bpo-31639.l3avDJ.rst
+1
-1
No files found.
Doc/library/http.server.rst
View file @
79c3bab3
...
...
@@ -37,8 +37,11 @@ handler. Code to create and run the server looks like this::
This class is identical to HTTPServer but uses threads to handle
requests by using the :class:`~socketserver.ThreadingMixin`. This
is usefull to handle web browsers pre-opening sockets, on which
:class:`HTTPServer` would wait indefinitly.
is useful to handle web browsers pre-opening sockets, on which
:class:`HTTPServer` would wait indefinitely.
.. versionadded:: 3.7
The :class:`HTTPServer` and :class:`ThreadedHTTPServer` must be given
a *RequestHandlerClass* on instantiation, of which this module
...
...
Misc/NEWS.d/next/Library/2017-12-27-21-55-19.bpo-31639.l3avDJ.rst
View file @
79c3bab3
http.server now exposes a ThreadedHTTPServer class and uses it when the
module is
invoked
to cope with web browsers pre-opening sockets.
module is
run with ``-m``
to cope with web browsers pre-opening sockets.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment