Julien Palard
4f53e2ac16
[3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195) (GH-7219)
...
* [3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195).
(cherry picked from commit 1cee216cf3
)
* Fix whatsnew entry about ThreadedHTTPServer. (GH-7220)
(cherry picked from commit a34e424bdb
)
2018-05-30 02:24:17 +02:00
Miss Islington (bot)
252f10cbac
fixed capitalization of class name (GH-6396) (GH-6397)
...
(cherry picked from commit 1d87c7b80b
)
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2018-04-06 08:46:05 -04:00
Miss Islington (bot)
a48614bee5
FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207) (GH-6302)
...
(cherry picked from commit 79c3bab35c
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-03-29 04:33:47 -04:00
Miss Islington (bot)
f8d2c3cf5f
bpo-31639: Use threads in http.server module. (GH-5018)
...
(cherry picked from commit 8bcfa02e4b
)
Co-authored-by: Julien Palard <julien@palard.fr>
2018-03-23 13:31:20 -07:00
jugglinmike
a083c8ee6c
bpo-30160: Clarify intended usage of wfile (gh-1300)
...
The library does not enforce compliance with the HTTP protocol,
so violations are not technically disallowed. Extend the stream's
description to avoid suggesting that intentional protocol violations are
not supported.
2017-05-24 14:25:50 -04:00
Stéphane Wirtel
a17a2f52c4
bpo-28707: Add the directory parameter to http.server.SimpleHTTPRequestHandler and http.server module ( #1776 )
...
* bpo-28707: call the constructor of SimpleHTTPRequestHandler in the test with a mock object
* bpo-28707: Add the directory parameter to http.server.SimpleHTTPRequestHandler and http.server module
2017-05-24 00:29:06 -07:00
Pierre Quentel
351adda54b
bpo-29654 : Support If-Modified-Since HTTP header (browser cache) ( #298 )
...
Return 304 response if file was not modified.
2017-04-02 13:26:12 +03:00
Serhiy Storchaka
989db5c880
Issue #19795 : Mark up None as literal text.
2016-10-19 16:37:13 +03:00
Serhiy Storchaka
ecf41da83e
Issue #19795 : Mark up None as literal text.
2016-10-19 16:29:26 +03:00
Martin Panter
34eeed4290
Issue #26721 : Change StreamRequestHandler.wfile to BufferedIOBase
2016-06-29 10:12:22 +00:00
Terry Jan Reedy
4da945f361
Merge Issue #22558 .
2016-06-11 15:06:08 -04:00
Terry Jan Reedy
fa089b9b0b
Issue #22558 : Add remaining doc links to source code for Python-coded modules.
...
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
2016-06-11 15:02:54 -04:00
Martin Panter
40de69ac58
Issue #25738 : Merge HTTP server from 3.5
2016-06-08 09:45:58 +00:00
Martin Panter
e42e129ebe
Issue #25738 : Don’t send message body for 205 Reset Content
...
Patch by Susumu Koshiba.
2016-06-08 08:29:13 +00:00
Berker Peksag
557326eed3
Issue #20112 : Improve BaseHTTPRequestHandler.error_message_format documentation
...
* Explain how 'error_message_format' is used by 'send_error' method
* Mention that 'responses' is used by 'send_response_only' and 'send_error' methods
* Replace 'class variables' with 'attributes'
Initial patch by Anastasia Filatova.
2016-04-24 01:51:31 +03:00
Berker Peksag
0269828320
Issue #20112 : Improve BaseHTTPRequestHandler.error_message_format documentation
...
* Explain how 'error_message_format' is used by 'send_error' method
* Mention that 'responses' is used by 'send_response_only' and 'send_error' methods
* Replace 'class variables' with 'attributes'
Initial patch by Anastasia Filatova.
2016-04-24 01:51:02 +03:00
Martin Panter
0cab9c1eba
Issue #26404 : Add context manager to socketserver, by Aviv Palivoda
2016-04-13 00:36:52 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Senthil Kumaran
b4760efbad
Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple documentation typos.
...
Related Issues:
#issue21528
#issue24453
2015-06-14 17:35:37 -07:00
Benjamin Peterson
70e2847347
document the requestline and close_connection attributes, use real booleans, and add tests ( closes #23410 )
...
Patch by Martin Panter.
2015-02-17 21:11:10 -05:00
Senthil Kumaran
cad2bf20c3
Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers attribute further.
...
Initial patch by Caelyn McAulay.
2014-04-16 13:56:19 -04:00
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
2014-03-15 21:13:56 -07:00
R David Murray
a475a8d313
whatsnew: http.server send_error explain parameter.
...
Also rewrote the send_error description for clarity and correct English.
2014-01-03 13:03:00 -05:00
Serhiy Storchaka
98b28fddd8
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:12:09 +03:00
Serhiy Storchaka
bfdcd436f0
Issue #18758 : Fixed and improved cross-references.
2013-10-13 23:09:14 +03:00
Senthil Kumaran
defe7f4c62
Expose --bind argument for http.server, enable http.server to bind to a user
...
specified network interface.
Patch contributed by Malte Swart. Addresses issue #17764 .
HG :Enter commit message. Lines beginning with 'HG:' are removed.
2013-09-15 09:37:27 -07:00
Ezio Melotti
2acd293077
Fix markup/wording.
2013-03-16 22:23:30 +02:00
Senthil Kumaran
2688644eef
#1291 http.server's send_error takes an optional explain argument
2013-03-15 07:53:21 -07:00
Senthil Kumaran
52d2720499
Issue #16088 : BaseHTTPRequestHandler's send_error method includes a
...
Content-Length header. Patch by Antoine Pitrou.
2012-10-10 23:16:21 -07:00
Georg Brandl
61063cca6a
Fix a couple of versionadded/versionchanged related markup errors.
2012-06-24 22:48:30 +02:00
Senthil Kumaran
1251fafcc5
Issue 14989: http.server --cgi option can enable the CGI http server.
2012-06-03 16:15:54 +08:00
Senthil Kumaran
4ca008b643
issue6085 - update docs in default branch
2012-04-29 13:44:14 +08:00
Senthil Kumaran
db727b4a77
Fix issue6085 - Remove the delay caused by fqdn lookup while logging in BaseHTTPRequestHandler
2012-04-29 13:41:03 +08:00
Senthil Kumaran
1aacba497b
Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead of client hostname
2012-04-29 12:51:54 +08:00
R David Murray
df7ac06195
Merge doc fixes #14553 and #14552 .
2012-04-11 20:15:10 -04:00
R David Murray
e7bade568e
#14553 : fix word order.
...
Patch by Tshepang Lekhonkhobe.
2012-04-11 20:13:25 -04:00
Antoine Pitrou
62ab10a05a
Replace mentions of IOError
2011-10-12 20:10:51 +02:00
Ezio Melotti
e9c7d6c3d9
Fix markup and working in the doc.
2011-05-12 01:10:57 +03:00
Senthil Kumaran
cc99528d87
issue12039 - update the documentation of send_response method in http.server.rst.
2011-05-11 16:04:28 +08:00
Senthil Kumaran
6ea17a88af
Issue #12039 - Update the http.server.rst with the requirement to call `end_headers` after calling `send_header`.
2011-05-11 11:45:48 +08:00
Senthil Kumaran
c7ae19b6a7
Issue #3709 : a flush_headers method to BaseHTTPRequestHandler which manages the
...
sending of headers to output stream and flushing the internal headers buffer.
Patch contribution by Andrew Schaaf
2011-05-09 23:25:02 +08:00
Raymond Hettinger
469271d4ea
More source links
2011-01-27 20:38:46 +00:00
Senthil Kumaran
e4dad4f8e2
Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write only on end_headers call.
2010-11-21 14:36:14 +00:00
Senthil Kumaran
0f476d49f8
Issue1491 - BaseHTTPServer incorrectly implements response code 100
2010-09-30 06:09:18 +00:00
Georg Brandl
f68798b92e
Use the right role.
2010-07-03 10:22:10 +00:00
Georg Brandl
8971f74c55
Merged revisions 82433 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82433 | georg.brandl | 2010-07-02 09:33:50 +0200 (Fr, 02 Jul 2010) | 1 line
Grammar and markup fixes.
........
2010-07-02 07:41:51 +00:00
Senthil Kumaran
294f27141f
Merged revisions 82026 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82026 | senthil.kumaran | 2010-06-16 23:07:32 +0530 (Wed, 16 Jun 2010) | 3 lines
Addressing RDM's review comments on the doc change.
........
2010-06-16 17:44:57 +00:00
Senthil Kumaran
97db43b6cc
Merged revisions 82018 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82018 | senthil.kumaran | 2010-06-16 20:25:31 +0530 (Wed, 16 Jun 2010) | 3 lines
Fix Issue8937 - SimpleHTTPServer should contain usage example
........
2010-06-16 16:41:11 +00:00
Georg Brandl
036490d025
More conversion to new-style optional args.
2009-05-17 13:00:36 +00:00
Benjamin Peterson
3e4f055602
Merged revisions 66045,66048-66049,66053,66060,66062-66063,66065,66067,66071-66074,66080,66082-66083,66090-66093,66097-66099,66103,66105,66110,66118 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66045 | andrew.kuchling | 2008-08-26 19:27:18 -0500 (Tue, 26 Aug 2008) | 1 line
Trim whitespace; add a few updates
........
r66048 | andrew.kuchling | 2008-08-26 19:45:02 -0500 (Tue, 26 Aug 2008) | 1 line
Add an item and a note
........
r66049 | andrew.kuchling | 2008-08-26 21:12:18 -0500 (Tue, 26 Aug 2008) | 1 line
Add various items
........
r66053 | georg.brandl | 2008-08-28 04:40:18 -0500 (Thu, 28 Aug 2008) | 2 lines
#3711 : .dll isn't a valid Python extension anymore.
........
r66060 | armin.rigo | 2008-08-29 16:21:52 -0500 (Fri, 29 Aug 2008) | 3 lines
A collection of crashers, all variants of the idea
of issue #3720 .
........
r66062 | georg.brandl | 2008-08-30 04:49:36 -0500 (Sat, 30 Aug 2008) | 2 lines
#3730 : mention "server" attribute explicitly.
........
r66063 | georg.brandl | 2008-08-30 04:52:44 -0500 (Sat, 30 Aug 2008) | 2 lines
#3716 : fix typo.
........
r66065 | georg.brandl | 2008-08-30 05:03:09 -0500 (Sat, 30 Aug 2008) | 2 lines
#3569 : eval() also accepts "exec"able code objects.
........
r66067 | georg.brandl | 2008-08-30 08:17:39 -0500 (Sat, 30 Aug 2008) | 2 lines
super() actually returns a super object.
........
r66071 | andrew.kuchling | 2008-08-30 10:19:57 -0500 (Sat, 30 Aug 2008) | 1 line
Partial edits from revision and tidying pass
........
r66072 | andrew.kuchling | 2008-08-30 10:21:23 -0500 (Sat, 30 Aug 2008) | 1 line
Tidy up some sentences
........
r66073 | andrew.kuchling | 2008-08-30 10:25:47 -0500 (Sat, 30 Aug 2008) | 1 line
Correction from Antoine Pitrou: BufferedWriter and Reader support seek()
........
r66074 | andrew.kuchling | 2008-08-30 11:44:54 -0500 (Sat, 30 Aug 2008) | 1 line
Edit four more sections
........
r66080 | georg.brandl | 2008-08-30 17:00:28 -0500 (Sat, 30 Aug 2008) | 2 lines
Fix markup.
........
r66082 | andrew.kuchling | 2008-08-30 17:56:54 -0500 (Sat, 30 Aug 2008) | 1 line
More edits; markup fixes
........
r66083 | andrew.kuchling | 2008-08-30 21:24:08 -0500 (Sat, 30 Aug 2008) | 1 line
More edits
........
r66090 | andrew.kuchling | 2008-08-31 09:29:31 -0500 (Sun, 31 Aug 2008) | 1 line
Edit the library section, rearranging items to flow better and making lots of edits
........
r66091 | andrew.kuchling | 2008-08-31 10:41:48 -0500 (Sun, 31 Aug 2008) | 1 line
Last batch of edits; remove the 'other changes' section
........
r66092 | andrew.kuchling | 2008-08-31 10:48:44 -0500 (Sun, 31 Aug 2008) | 1 line
Update patch/bug count
........
r66093 | gregory.p.smith | 2008-08-31 11:34:18 -0500 (Sun, 31 Aug 2008) | 3 lines
issue3715: docstring representation of hex escaped string needs to be double
escaped.
........
r66097 | benjamin.peterson | 2008-09-01 09:13:43 -0500 (Mon, 01 Sep 2008) | 4 lines
#3703 unhelpful _fileio.FileIO error message when trying to open a directory
Reviewer: Gregory P. Smith
........
r66098 | georg.brandl | 2008-09-01 09:15:55 -0500 (Mon, 01 Sep 2008) | 2 lines
#3749 : fix c'n'p errors.
........
r66099 | benjamin.peterson | 2008-09-01 09:18:30 -0500 (Mon, 01 Sep 2008) | 4 lines
Fix compilation when --without-threads is given #3683
Reviewer: Georg Brandl, Benjamin Peterson
........
r66103 | vinay.sajip | 2008-09-01 09:30:10 -0500 (Mon, 01 Sep 2008) | 1 line
logging: fixed lack of use of encoding attribute specified on a stream.
........
r66105 | vinay.sajip | 2008-09-01 09:33:59 -0500 (Mon, 01 Sep 2008) | 1 line
logging: fixed lack of use of encoding attribute specified on a stream.
........
r66110 | vinay.sajip | 2008-09-01 10:08:07 -0500 (Mon, 01 Sep 2008) | 1 line
Added section about configuring logging in a library. Thanks to Thomas Heller for the idea.
........
r66118 | vinay.sajip | 2008-09-01 12:44:14 -0500 (Mon, 01 Sep 2008) | 1 line
Bug #3738 : Documentation is now more accurate in describing handler close methods.
........
2008-09-02 00:31:15 +00:00