summaryrefslogtreecommitdiffstats
path: root/Lib/http/server.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #24902: Print server URL on http.server startupBerker Peksag2016-04-291-1/+2
| | | | Initial patch by Felix Kaiser.
* Issue #26657: Merge http.server fix from 3.5Martin Panter2016-04-181-3/+3
|\
| * Issue #26657: Fix Windows directory traversal vulnerability with http.serverMartin Panter2016-04-181-3/+3
| | | | | | | | | | Based on patch by Philipp Hagemeister. This fixes a regression caused by revision f4377699fd47.
* | Issue #26404: Add context manager to socketserver, by Aviv PalivodaMartin Panter2016-04-131-10/+8
| |
* | Issue #26585: Eliminate _quote_html() and use html.escape(quote=False)Martin Panter2016-04-111-8/+8
| | | | | | | | Patch by Xiang Zhang.
* | Issue #26586: Simple enhancements to BaseHTTPRequestHandler by Xiang ZhangMartin Panter2016-04-031-15/+13
| |
* | Issue #26586: Merge excessive HTTP header handling from 3.5Martin Panter2016-04-031-0/+7
|\ \ | |/
| * Issue #26586: Handle excessive header fields in http.server, by Xiang ZhangMartin Panter2016-04-031-0/+7
| |
* | Issue #747320: Use email.utils.formatdate() to avoid code duplicationBerker Peksag2016-03-141-6/+2
|/ | | | | | in BaseHTTPRequestHandler Initial patch by karlcow.
* Merge typo fixes from 3.4 into 3.5Martin Panter2015-10-071-1/+1
|\
| * Various minor typos in documentation and commentsMartin Panter2015-10-071-1/+1
| |
* | Issues #25232, #24657: Merge two CGI server fixes from 3.4 into 3.5Martin Panter2015-10-031-9/+10
|\ \ | |/
| * Issue #24657: Prevent CGIRequestHandler from collapsing the URL queryMartin Panter2015-10-031-4/+9
| | | | | | | | | | Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc string.
| * Issue #25232: Fix CGIRequestHandler's splitting of URL queryMartin Panter2015-10-031-5/+1
| | | | | | | | Patch from Xiang Zhang.
* | Issue #24774: Fix docstring in http.server.test.Robert Collins2015-08-171-2/+1
|\ \ | |/ | | | | Patch from Chiu-Hsiang Hsu.
| * Issue #24774: Fix docstring in http.server.test.Robert Collins2015-08-171-2/+1
| | | | | | | | Patch from Chiu-Hsiang Hsu.
* | Issue #21793: BaseHTTPRequestHandler again logs response code as numeric,Serhiy Storchaka2015-03-071-1/+2
| | | | | | | | not as stringified enum. Patch by Demian Brecht.
* | merge 3.4 (#23410)Benjamin Peterson2015-02-181-10/+10
|\ \ | |/
| * document the requestline and close_connection attributes, use real booleans, ↵Benjamin Peterson2015-02-181-10/+10
| | | | | | | | | | | | and add tests (closes #23410) Patch by Martin Panter.
* | Issue #23418: Add missing entries to http.server.__all__.Berker Peksag2015-02-131-1/+4
|\ \ | |/ | | | | Patch by Martin Panter.
| * Issue #23418: Add missing entries to http.server.__all__.Berker Peksag2015-02-131-1/+4
| | | | | | | | Patch by Martin Panter.
* | merge 3.4 (#23112)Benjamin Peterson2014-12-261-2/+6
|\ \ | |/
| * fix behavior of trailing slash redirection when a query string is involved ↵Benjamin Peterson2014-12-261-2/+6
| | | | | | | | (closes #23112)
* | Issue #21793: Added http.HTTPStatus enums (i.e. HTTPStatus.OK,Serhiy Storchaka2014-12-231-99/+54
|/ | | | HTTPStatus.NOT_FOUND). Patch by Demian Brecht.
* Issue #22165: SimpleHTTPRequestHandler now supports undecodable file names.Serhiy Storchaka2014-08-171-4/+15
|
* Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-131-5/+5
|\ | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
| * Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-131-5/+5
| |\ | | | | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
| | * Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,Ned Deily2014-07-131-5/+5
| | | | | | | | | | | | broken by the fix for security issue #19435. Patch by Zach Byrne.
* | | merge 3.3 (#21766)Benjamin Peterson2014-06-151-1/+1
|\ \ \ | |/ /
| * | merge 3.2 (#21766)Benjamin Peterson2014-06-151-1/+1
| |\ \ | | |/
| | * url unquote the path before checking if it refers to a CGI script (closes ↵Benjamin Peterson2014-06-151-1/+1
| | | | | | | | | | | | #21766)
* | | Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-2/+0
| | |
* | | Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-251-9/+15
|\ \ \ | |/ / | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
| * | Issue #20331: Fixed possible FD leaks in various modules:Serhiy Storchaka2014-01-251-9/+15
| | | | | | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree.
* | | merge 3.3 (#18574)Benjamin Peterson2014-01-191-1/+1
|\ \ \ | |/ /
| * | fix handling of 100-continue status code (closes #18574)Benjamin Peterson2014-01-191-1/+1
| | |
* | | merge 3.3 (#19435)Benjamin Peterson2013-10-301-5/+4
|\ \ \ | |/ /
| * | merge 3.2 (#19435)Benjamin Peterson2013-10-301-5/+4
| |\ \ | | |/
| | * merge 3.1 (#19435)Benjamin Peterson2013-10-301-5/+4
| | |\
| | | * use the collapsed path in the run_cgi method (closes #19435)Benjamin Peterson2013-10-301-5/+4
| | | |
* | | | merge from 3.3Senthil Kumaran2013-09-301-1/+1
|\ \ \ \ | |/ / /
| * | | Minor code improvement. Review comment by Eric V. SmithSenthil Kumaran2013-09-301-1/+1
| | | |
* | | | Expose --bind argument for http.server, enable http.server to bind to a userSenthil Kumaran2013-09-151-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified network interface. Patch contributed by Malte Swart. Addresses issue #17764. HG :Enter commit message. Lines beginning with 'HG:' are removed.
* | | | Fix http.server's request handling case on trailing '/'.Senthil Kumaran2013-09-131-0/+4
|\ \ \ \ | |/ / / | | | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324
| * | | Fix http.server's request handling case on trailing '/'.Senthil Kumaran2013-09-131-0/+4
| | | | | | | | | | | | | | | | Patch contributed by Vajrasky Kok. Addresses Issue #17324
* | | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
| | | |
* | | | Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | | | | | | | | | | | | | ModuleNotFoundError.
* | | | #1291 http.server's send_error takes an optional explain argumentSenthil Kumaran2013-03-151-6/+12
| | | |
* | | | Reverting the changeset b87792757ee8 made for Issue #12921Senthil Kumaran2013-03-051-1/+1
|\ \ \ \ | |/ / /
| * | | Reverting the changeset 5d76a4746d9d made for Issue #12921Senthil Kumaran2013-03-051-1/+1
| |\ \ \ | | |/ /