summaryrefslogtreecommitdiffstats
path: root/Lib/http/server.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |\
| | * Reverting the changeset 5126e62c60af made for Issue #12921Senthil Kumaran2013-03-051-1/+1
| | |
* | | Fix Issue #12921: BaseHTTPServer's send_error should send the correct errorSenthil Kumaran2013-03-051-1/+1
|\ \ \ | |/ / | | | | | | | | | response message when send_error includes a message in addition to error status. Patch contributed by Karl.
| * | Fix Issue #12921: BaseHTTPServer's send_error should send the correct errorSenthil Kumaran2013-03-051-1/+1
| |\ \ | | |/ | | | | | | | | | response message when send_error includes a message in addition to error status. Patch contributed by Karl.
| | * Fix Issue #12921: BaseHTTPServer's send_error should send the correct errorSenthil Kumaran2013-03-051-1/+1
| | | | | | | | | | | | | | | response message when send_error includes a message in addition to error status. Patch contributed by Karl.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-1/+1
| | |
* | | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-2/+2
| | |
* | | Issue #16088: BaseHTTPRequestHandler's send_error method includes aSenthil Kumaran2012-10-111-1/+3
|/ / | | | | | | Content-Length header. Patch by Antoine Pitrou.
* | Issue 14989: http.server --cgi option can enable the CGI http server.Senthil Kumaran2012-06-031-7/+15
| |
* | #14809: Add HTTP status codes from RFC 6585 to http.server and http.clientHynek Schlawack2012-05-161-1/+9
| | | | | | | | Patch by EungJun Yi.
* | 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-2/+2
| | | | | | | | BaseHTTPRequestHandler
* | Fix Issue6085 - SimpleHTTPServer address_string to return client ip instead ↵Senthil Kumaran2012-04-291-11/+2
| | | | | | | | of client hostname
* | merge to default - Issue 10484 - Incorporate improvements to CGI module - ↵Senthil Kumaran2012-04-111-26/+28
|\ \ | |/ | | | | Suggested by Glenn Linderman. Refactor code and tests
| * 3.2 - Issue 10484 - Incorporate improvements to CGI module - Suggested by ↵Senthil Kumaran2012-04-111-26/+28
| | | | | | | | Glenn Linderman. Refactor code and tests
* | merge - fix the incorrect changes made for PATH_INFO value - Issue10484Senthil Kumaran2012-04-101-10/+6
|\ \ | |/
| * 3.2- fix the incorrect changes made for PATH_INFO value - Issue10484Senthil Kumaran2012-04-101-10/+6
| |
* | closes issue10484 - Fix the http.server's cgi PATH_INFO handling problemSenthil Kumaran2012-03-161-1/+8
|\ \ | |/
| * closes issue10484 - Fix the http.server's cgi PATH_INFO handling problemSenthil Kumaran2012-03-161-1/+8
| |
* | merge from 3.2. Minor code style improvements in http.server suggested in ↵Senthil Kumaran2011-12-231-6/+3
|\ \ | |/ | | | | Issue13294.
| * Minor code style improvements in http.server suggested in Issue13294.Senthil Kumaran2011-12-231-6/+3
| |
* | #13295: http.server now produces valid HTML 4.01 strict.Ezio Melotti2011-11-021-8/+14
| |
* | Close #12289: Fix "is executable?" test in the CGI serverVictor Stinner2011-06-201-6/+2
| | | | | | | | | | Use os.access(path, os.X_OK) instead of (os.stat(path).st_mode & 0o111 != 0), and ignore the test on Windows.
* | Issue #3709: a flush_headers method to BaseHTTPRequestHandler which manages theSenthil Kumaran2011-05-091-4/+14
| | | | | | | | | | sending of headers to output stream and flushing the internal headers buffer. Patch contribution by Andrew Schaaf
* | merge from 3.2Senthil Kumaran2011-03-201-4/+3
|\ \ | |/
| * Merge from 3.1Senthil Kumaran2011-03-201-4/+3
| |\
| | * Issue #11567 - Let's have the DOCTYPE as HTML instead of XHTML.Senthil Kumaran2011-03-201-4/+3
| | |
| | * Error message in http.server code. Missed to update in 3.1 branch initially.Senthil Kumaran2011-03-171-9/+14
| | |
| | * Merged revisions 87373,87381 via svnmerge fromAntoine Pitrou2010-12-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87373 | senthil.kumaran | 2010-12-18 17:55:23 +0100 (sam., 18 déc. 2010) | 3 lines Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by Antoine Pitrou ........ r87381 | antoine.pitrou | 2010-12-18 18:59:18 +0100 (sam., 18 déc. 2010) | 3 lines NEWS entry for r87373 ........
| | * Merged revisions 87317 via svnmerge fromAntoine Pitrou2010-12-161-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87317 | antoine.pitrou | 2010-12-16 17:48:36 +0100 (jeu., 16 déc. 2010) | 4 lines Issue #10714: Limit length of incoming request in http.server to 65536 bytes for security reasons. Initial patch by Ross Lagerwall. ........ (also backport some tests)
| | * Merged revisions 86195 via svnmerge fromBrian Curtin2010-11-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86195 | brian.curtin | 2010-11-05 10:04:48 -0500 (Fri, 05 Nov 2010) | 3 lines Close subprocess pipes in the non-UNIX section of run_cgi. Clears a number of ResourceWarnings in test_httpservers. ........
| | * Merged revisions 85202 via svnmerge fromSenthil Kumaran2010-10-031-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85202 | senthil.kumaran | 2010-10-03 23:25:45 +0530 (Sun, 03 Oct 2010) | 4 lines Fix Issue9272 - Change CGIHTTPServer to give the child program a copy of os.environ ........
| | * Merged revisions 83371,83390 via svnmerge fromGeorg Brandl2010-08-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r83371 | georg.brandl | 2010-07-31 23:54:24 +0200 (Sa, 31 Jul 2010) | 1 line #8292: Fix three instances of truth tests on return values of filter() (which is always true in Python 3). ........ r83390 | georg.brandl | 2010-08-01 10:07:49 +0200 (So, 01 Aug 2010) | 1 line #8230: make Lib/test/sortperf.py run on Python 3. ........
| | * Merged revisions 78301 via svnmerge fromSenthil Kumaran2010-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78301 | senthil.kumaran | 2010-02-22 16:30:50 +0530 (Mon, 22 Feb 2010) | 10 lines Merged revisions 78299 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78299 | senthil.kumaran | 2010-02-22 16:25:08 +0530 (Mon, 22 Feb 2010) | 4 lines Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing server to resource in the 405 response msg. ........ ................
| | * Merged revisions 76210 via svnmerge fromSenthil Kumaran2009-11-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76210 | senthil.kumaran | 2009-11-11 09:47:53 +0530 (Wed, 11 Nov 2009) | 10 lines Merged revisions 76208 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76208 | senthil.kumaran | 2009-11-11 07:04:44 +0530 (Wed, 11 Nov 2009) | 3 lines CGIHTTPRequestHandler.run_cgi() to use subprocess for Non Unix platforms. Fix based on Issue1235. ........ ................
* | | Merge from 3.2Senthil Kumaran2011-03-171-9/+14
|\ \ \ | |/ /
| * | Fix issue11567: http.server DEFAULT_ERROR_MESSAGE format. Patch by Gennadiy ↵Senthil Kumaran2011-03-171-9/+14
| | | | | | | | | | | | Zlobin.
* | | Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg2011-02-251-2/+2
|/ / | | | | | | | | | | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303.
* | Issue #10980: encode headers with latin1 instead of ASCII in the HTTP server.Armin Ronacher2011-01-221-2/+2
| | | | | | | | | | This makes the implementation of PEP 3333 compliant servers on top of BaseHTTPServer possible.
* | Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by ↵Senthil Kumaran2010-12-181-2/+6
| | | | | | | | Antoine Pitrou
* | Issue #10714: Limit length of incoming request in http.server to 65536 bytesAntoine Pitrou2010-12-161-1/+7
| | | | | | | | for security reasons. Initial patch by Ross Lagerwall.
* | #1513299: cleanup some map() uses where a comprehension works better.Georg Brandl2010-12-041-1/+1
| |
* | Fix issue3709 - BaseHTTPRequestHandler will buffer the headers and write ↵Senthil Kumaran2010-11-211-2/+7
| | | | | | | | only on end_headers call.
* | Close subprocess pipes in the non-UNIX section of run_cgi.Brian Curtin2010-11-051-0/+2
| | | | | | | | Clears a number of ResourceWarnings in test_httpservers.
* | #2830: add html.escape() helper and move cgi.escape() uses in the standard ↵Georg Brandl2010-10-151-3/+3
| | | | | | | | library to it. It defaults to quote=True and also escapes single quotes, which makes casual use safer. The cgi.escape() interface is not touched, but emits a (silent) PendingDeprecationWarning.
* | Fix Issue9272 - Change CGIHTTPServer to give the child program a copy of ↵Senthil Kumaran2010-10-031-4/+5
| | | | | | | | os.environ
* | Issue1491 - BaseHTTPServer incorrectly implements response code 100Senthil Kumaran2010-09-301-3/+30
| |
* | #8292: Fix three instances of truth tests on return values of filter() ↵Georg Brandl2010-07-311-2/+3
| | | | | | | | (which is always true in Python 3).
* | Merged revisions 78299 via svnmerge fromSenthil Kumaran2010-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78299 | senthil.kumaran | 2010-02-22 16:25:08 +0530 (Mon, 22 Feb 2010) | 4 lines Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing server to resource in the 405 response msg. ........