diff options
author | Guido van Rossum <guido@python.org> | 1999-09-15 15:28:25 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-09-15 15:28:25 (GMT) |
commit | ba895d892d2fd129903a6c71b7b7b6814e70dd77 (patch) | |
tree | 89d523eff7a26e85c1d1b91e0f6b23eae1f9c971 | |
parent | 0079b288f5a7b3b4441c7ceebcde0cfd1152f4db (diff) | |
download | cpython-ba895d892d2fd129903a6c71b7b7b6814e70dd77.zip cpython-ba895d892d2fd129903a6c71b7b7b6814e70dd77.tar.gz cpython-ba895d892d2fd129903a6c71b7b7b6814e70dd77.tar.bz2 |
Typo: the method called is do_SPAM, not handle_SPAM.
-rw-r--r-- | Lib/BaseHTTPServer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/BaseHTTPServer.py b/Lib/BaseHTTPServer.py index 8399267..6707df2 100644 --- a/Lib/BaseHTTPServer.py +++ b/Lib/BaseHTTPServer.py @@ -172,7 +172,7 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler): This server parses the request and the headers, and then calls a function specific to the request type (<command>). Specifically, - a request SPAM will be handled by a method handle_SPAM(). If no + a request SPAM will be handled by a method do_SPAM(). If no such method exists the server sends an error response to the client. If it exists, it is called with no arguments: |