summaryrefslogtreecommitdiffstats
path: root/Lib/http/server.py
Commit message (Collapse)AuthorAgeFilesLines
* Minor code style improvements in http.server suggested in Issue13294.Senthil Kumaran2011-12-231-6/+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. ........ ................
* | Fix issue11567: http.server DEFAULT_ERROR_MESSAGE format. Patch by Gennadiy ↵Senthil Kumaran2011-03-171-9/+14
| | | | | | | | Zlobin.
* | 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. ........
* | Merged revisions 76208 via svnmerge fromSenthil Kumaran2009-11-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | 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. ........
* | http://bugs.python.org/issue6267Kristján Valur Jónsson2009-07-011-10/+18
|/ | | | porting revision 73638 to py3k
* More codestring -> codebytes.Georg Brandl2009-06-041-1/+1
|
* port r72246Benjamin Peterson2009-05-081-0/+3
|
* Merged revisions 71303 via svnmerge fromBenjamin Peterson2009-04-111-14/+50
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71303 | gregory.p.smith | 2009-04-06 01:33:26 -0500 (Mon, 06 Apr 2009) | 3 lines - Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths are now collapsed within the url properly before looking in cgi_directories. ........
* Make http.server main program nicer for interactive use.Alexandre Vassalotti2009-04-031-4/+6
| | | | | | | | Remove unreachable calls to test(). This restores the behavior of SimpleHTTPServer, where a user could type "python -m SimpleHTTPServer" and get a simple server for sharing files. Now, you can do the same thing with "python3 -m http.server".
* Fix compatibility issue with HTTPMessage class.Jeremy Hylton2009-03-271-1/+2
| | | | The server needs to use MessageClass to parse.
* Sort import list.Jeremy Hylton2009-03-271-10/+10
|
* Replace duplicate code in http.server with call to http.client.parse_headers().Jeremy Hylton2009-03-271-15/+2
|
* Issue3113: tests for CGIHTTPRequestHandler failed on windows:Amaury Forgeot d'Arc2008-06-181-58/+18
| | | | replace the now-invalid popen2 with a call to subprocess.Popen.
* Make a new urllib package .Jeremy Hylton2008-06-181-5/+5
| | | | | | | | | | | | | It consists of code from urllib, urllib2, urlparse, and robotparser. The old modules have all been removed. The new package has five submodules: urllib.parse, urllib.request, urllib.response, urllib.error, and urllib.robotparser. The urllib.request.urlopen() function uses the url opener from urllib2. Note that the unittests have not been renamed for the beta, but they will be renamed in the future. Joint work with Senthil Kumaran.
* Remove traces of rfc822.Georg Brandl2008-06-121-1/+1
|
* Patch for issue 2848, mostly by Humberto Diogenes, with a couple ofBarry Warsaw2008-06-121-13/+15
| | | | small fixes by Barry. This removes mimetools from the stdlib.
* Create http package. #2883.Georg Brandl2008-05-261-0/+1141