From ba895d892d2fd129903a6c71b7b7b6814e70dd77 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 15 Sep 1999 15:28:25 +0000 Subject: Typo: the method called is do_SPAM, not handle_SPAM. --- Lib/BaseHTTPServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (). 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: -- cgit v0.12