summaryrefslogtreecommitdiffstats
path: root/Lib/BaseHTTPServer.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changingSenthil Kumaran2010-02-221-1/+1
| | | | server to resource in the 405 response msg.
* http://bugs.python.org/issue6267Kristján Valur Jónsson2009-06-281-10/+18
| | | | Cumulative patch to http and xmlrpc
* Move test.test_support.catch_warning() to the warnings module, rename itBrett Cannon2008-09-021-5/+5
| | | | | | | | | | | catch_warnings(), and clean up the API. While expanding the test suite, a bug was found where a warning about the 'line' argument to showwarning() was not letting functions with '*args' go without a warning. Closes issue 3602. Code review by Benjamin Peterson.
* Silence the DeprecationWarning raised by importing mimetools in BaseHTTPServer.Brett Cannon2008-08-161-1/+6
| | | | | | This does have an unfortunate side-effect of silencing the warning for all subsequent code that imports mimetools as well since the warning is only executed upon the first import of mimetools.
* socketserver renaming reversal part 3: move the module into the rightGeorg Brandl2008-05-241-4/+4
| | | | place and fix all references to it. Closes #2926.
* GHOP #134, #171, #137: unit tests for the three HTTPServer modules.Georg Brandl2008-05-181-1/+7
|
* Updated all import statements to use the new socketserver module name.Alexandre Vassalotti2008-05-121-4/+4
| | | | | Renamed socketserver module in its own documentation. Renamed documentation references.
* #1492: allow overriding BaseHTTPServer's content type for error messages.Georg Brandl2008-02-231-2/+5
|
* Fix the signature of log_error(). (A subclass that did the right thingGuido van Rossum2007-01-101-2/+2
| | | | was getting complaints from pychecker.)
* Typo fixAndrew M. Kuchling2006-03-071-1/+1
|
* Move "httpresponses" dict from urllib2 to httplib where it belongs.Georg Brandl2006-02-171-10/+10
|
* Patch #1417555: SimpleHTTPServer now returns Last-Modified headers.Georg Brandl2006-02-171-3/+4
|
* bug [ 1100201 ] Cross-site scripting on BaseHTTPServerGeorg Brandl2005-06-261-1/+4
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-5/+5
| | | | From SF patch #852334.
* SF patch #747364: BaseHTTPServer doesn't need StringIO intermediaryRaymond Hettinger2003-08-091-11/+1
| | | | (Contributed by Andrew Dalke.)
* Fix SF bug #747348 docstring mistake in BaseHTTPServer.py. \n\nBackport ↵Raymond Hettinger2003-06-021-1/+1
| | | | Candidate
* Patch #744041: Use only first two elements of address to support IPv6.Martin v. Löwis2003-05-311-2/+2
|
* Get rid of many apply() calls.Guido van Rossum2003-02-271-1/+1
|
* [Bug #676292] BaseHTTPServer incorrectly parses protocol; fix by Andrew DalkeAndrew M. Kuchling2003-02-031-5/+16
| | | | | | | | | * Treat major, minor numbers of HTTP version as separate integers * Fix errors if version string is "HTTP/1.2.3" or even simply "BLAH". * send_error() checks if 'self.command' is a HEAD. However, if there's an error parsing the first line of the HTTP request the self.command wasn't set yet; force self.command to be initialized to None.
* Bug #676273: Rewrite paragraph in module docstringAndrew M. Kuchling2003-02-031-5/+5
|
* Use is None rather than general booleanRaymond Hettinger2002-05-311-1/+1
|
* Whitespace normalization.Tim Peters2002-04-161-1/+1
|
* Convert a pile of obvious "yes/no" functions to return bool.Tim Peters2002-04-041-8/+8
|
* Patch #430706: Persistent connections in BaseHTTPServer.Martin v. Löwis2002-03-171-34/+123
|
* add Content-Type header to error responsesSkip Montanaro2002-03-081-0/+1
| | | | this closes patch 502080
* Remove unused imports from previous checkin.Martin v. Löwis2001-07-251-2/+0
|
* Patch #401196: Use getaddrinfo and AF_INET6 in TCP servers and clients.Martin v. Löwis2001-07-241-1/+4
|
* Correction to test main.Eric S. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-4/+3
|
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-0/+1
| | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
* Whitespace normalization.Tim Peters2001-01-141-24/+24
|
* updated occurences of fqdn algorithm (closes patch #101197)Peter Schneider-Kamp2000-08-161-23/+3
|
* Set HTTPServer class variable allow_reuse_address to 1, so restartingGuido van Rossum2000-05-091-0/+2
| | | | the server after it died doesn't require a wait period.
* Fix by Moshe Zadka (cleaned up and documented by GvR) to break out theGuido van Rossum1999-10-261-12/+27
| | | | | request handling into separate parse_request() and handle_request() methods.
* Typo: the method called is do_SPAM, not handle_SPAM.Guido van Rossum1999-09-151-1/+1
|
* Don't just die if gethostbyaddr() fails -- as it can when DNS isGuido van Rossum1999-06-091-6/+10
| | | | unreachable -- but fall back to using whatever hostname we have.
* No need to import rfc822. (Andrew Dalke & kjpylint)Guido van Rossum1999-05-031-1/+0
|
* Per Cederqvist writes:Guido van Rossum1999-03-301-1/+1
| | | | | | | | | | | | | If you send something like "PUT / HTTP/1.0" to something derived from BaseHTTPServer that doesn't define do_PUT, you will get a response that begins like this: HTTP/1.0 501 Unsupported method ('do_PUT') Server: SimpleHTTP/0.3 Python/1.5 Date: Tue, 30 Mar 1999 18:53:53 GMT The server should complain about 'PUT' instead of 'do_PUT'. This patch should fix the problem.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-194/+194
|
* Treat all HTTP/1.* versions the same.Guido van Rossum1997-08-121-2/+2
|
* fix several bogus var refs in error reportingGuido van Rossum1996-02-121-3/+3
|
* Initial revisionGuido van Rossum1995-08-041-0/+482