diff options
author | Guido van Rossum <guido@python.org> | 1999-09-15 15:28:25 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-09-15 15:28:25 +0000 |
commit | 029f94253c0c72d230e3e2c8fda0046fda2acd74 (patch) | |
tree | 127a8ff9de37a348ce87303b5a34fdf6b656f4a0 /Lib/BaseHTTPServer.py | |
parent | 3ff112b84db393f359125e9d97566db145cea597 (diff) | |
download | cpython-029f94253c0c72d230e3e2c8fda0046fda2acd74.tar.gz |
Typo: the method called is do_SPAM, not handle_SPAM.
Diffstat (limited to 'Lib/BaseHTTPServer.py')
-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 8399267bd3..6707df21e3 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: |