summaryrefslogtreecommitdiffstats
path: root/Lib/BaseHTTPServer.py
Commit message (Collapse)AuthorAgeFilesLines
* 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