summaryrefslogtreecommitdiff
path: root/Doc/library/http.server.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.7] bpo-34576 : Backport eeab510 (#10114)Senthil Kumaran2018-10-261-0/+5
| | | | | | * bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005) (cherry picked from commit eeab510bb7e51802c18b3770cbb23ae0ca91da6b)
* bpo-34576: Revert doc change until it can be properly fixed (GH-9720)Ned Deily2018-10-201-8/+0
| | | | This reverts commit 57038bcb24407abbbb46e6d278d0ab4b6ad25bbf.
* bpo-34576 warn users on security for http.server (GH-9720)Miss Islington (bot)2018-10-101-0/+8
| | | | | | | It was proposed to add an warning for http.server regarding security issues. The wording was provided at bpo-26005 by @orsenthil (cherry picked from commit 1d26c72e6a9c5b28b27c158f2f196217707dbb0f) Co-authored-by: Felipe Rodrigues <felipe@felipevr.com>
* [3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name ↵Julien Palard2018-05-301-2/+2
| | | | | | | | | | (GH-7195) (GH-7219) * [3.7] bpo-31639: Change ThreadedHTTPServer to ThreadingHTTPServer class name (GH-7195). (cherry picked from commit 1cee216cf383eade641aed22f4ec7d4cb565ecff) * Fix whatsnew entry about ThreadedHTTPServer. (GH-7220) (cherry picked from commit a34e424bdbc62b4d83593af1c0d459d8aaac90f3)
* fixed capitalization of class name (GH-6396) (GH-6397)Miss Islington (bot)2018-04-061-1/+1
| | | | | (cherry picked from commit 1d87c7b80bf74a3030034a022a7a54ea4e3cdaff) Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
* FIX documentation and NEWS of ThreadedHTTPServer. (GH-6207) (GH-6302)Miss Islington (bot)2018-03-291-2/+5
| | | | | (cherry picked from commit 79c3bab35cce55e6d175aff96a845bc6d932b203) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-31639: Use threads in http.server module. (GH-5018)Miss Islington (bot)2018-03-231-2/+9
| | | | | (cherry picked from commit 8bcfa02e4b1b65634e526e197588bc600674c80b) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-30160: Clarify intended usage of wfile (gh-1300)jugglinmike2017-05-241-1/+2
| | | | | | 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.
* bpo-28707: Add the directory parameter to ↵Stéphane Wirtel2017-05-241-2/+13
| | | | | | | | 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
* bpo-29654 : Support If-Modified-Since HTTP header (browser cache) (#298)Pierre Quentel2017-04-021-4/+8
| | | | Return 304 response if file was not modified.
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
|\
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-1/+1
| |
* | Issue #26721: Change StreamRequestHandler.wfile to BufferedIOBaseMartin Panter2016-06-291-2/+5
| |
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-2/+1
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-2/+1
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Issue #25738: Merge HTTP server from 3.5Martin Panter2016-06-081-1/+3
|\ \ | |/
| * Issue #25738: Don’t send message body for 205 Reset ContentMartin Panter2016-06-081-1/+3
| | | | | | | | Patch by Susumu Koshiba.
* | Issue #20112: Improve BaseHTTPRequestHandler.error_message_format documentationBerker Peksag2016-04-241-18/+11
|\ \ | |/ | | | | | | | | | | | | * 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.
| * Issue #20112: Improve BaseHTTPRequestHandler.error_message_format documentationBerker Peksag2016-04-241-18/+11
| | | | | | | | | | | | | | | | * 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.
* | Issue #26404: Add context manager to socketserver, by Aviv PalivodaMartin Panter2016-04-131-4/+3
|/
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-2/+2
| | | | | | 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.
* Back porting changeset db302b88fdb6 to 3.4 branch, which fixed multiple ↵Senthil Kumaran2015-06-141-1/+1
| | | | | | | | | documentation typos. Related Issues: #issue21528 #issue24453
* document the requestline and close_connection attributes, use real booleans, ↵Benjamin Peterson2015-02-171-0/+12
| | | | | | and add tests (closes #23410) Patch by Martin Panter.
* Address issue 18229 - Explain http.server.BaseHTTPRequestHandler's .headers ↵Senthil Kumaran2014-04-161-1/+4
| | | | | | attribute further. Initial patch by Caelyn McAulay.
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-151-6/+8
|
* whatsnew: http.server send_error explain parameter.R David Murray2014-01-031-6/+9
| | | | Also rewrote the send_error description for clarity and correct English.
* Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-3/+3
|\
| * Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-3/+3
| |
* | Expose --bind argument for http.server, enable http.server to bind to a userSenthil Kumaran2013-09-151-0/+9
| | | | | | | | | | | | | | | | specified network interface. Patch contributed by Malte Swart. Addresses issue #17764. HG :Enter commit message. Lines beginning with 'HG:' are removed.
* | Fix markup/wording.Ezio Melotti2013-03-161-1/+1
| |
* | #1291 http.server's send_error takes an optional explain argumentSenthil Kumaran2013-03-151-4/+8
| |
* | Issue #16088: BaseHTTPRequestHandler's send_error method includes aSenthil Kumaran2012-10-101-0/+3
|/ | | | Content-Length header. Patch by Antoine Pitrou.
* Fix a couple of versionadded/versionchanged related markup errors.Georg Brandl2012-06-241-1/+2
|
* Issue 14989: http.server --cgi option can enable the CGI http server.Senthil Kumaran2012-06-031-0/+6
|
* issue6085 - update docs in default branchSenthil Kumaran2012-04-291-1/+1
|\
| * Fix issue6085 - Remove the delay caused by fqdn lookup while logging in ↵Senthil Kumaran2012-04-291-1/+1
| | | | | | | | BaseHTTPRequestHandler
* | Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead ↵Senthil Kumaran2012-04-291-2/+5
| | | | | | | | of client hostname
* | Merge doc fixes #14553 and #14552.R David Murray2012-04-111-1/+1
|\ \ | |/
| * #14553: fix word order.R David Murray2012-04-111-1/+1
| | | | | | | | Patch by Tshepang Lekhonkhobe.
* | Replace mentions of IOErrorAntoine Pitrou2011-10-121-1/+1
| |
* | Fix markup and working in the doc.Ezio Melotti2011-05-121-7/+9
| |
* | issue12039 - update the documentation of send_response method in ↵Senthil Kumaran2011-05-111-4/+11
| | | | | | | | http.server.rst.
* | Issue #12039 - Update the http.server.rst with the requirement to call ↵Senthil Kumaran2011-05-111-3/+4
| | | | | | | | `end_headers` after calling `send_header`.
* | Issue #3709: a flush_headers method to BaseHTTPRequestHandler which manages theSenthil Kumaran2011-05-091-9/+18
|/ | | | | sending of headers to output stream and flushing the internal headers buffer. Patch contribution by Andrew Schaaf
* More source linksRaymond Hettinger2011-01-271-0/+4
|
* Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write ↵Senthil Kumaran2010-11-211-7/+14
| | | | only on end_headers call.
* Issue1491 - BaseHTTPServer incorrectly implements response code 100Senthil Kumaran2010-09-301-0/+20
|
* Use the right role.Georg Brandl2010-07-031-1/+1
|
* Merged revisions 82433 via svnmerge fromGeorg Brandl2010-07-021-15/+15
| | | | | | | | | | 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. ........
* Merged revisions 82026 via svnmerge fromSenthil Kumaran2010-06-161-2/+4
| | | | | | | | | | 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. ........