Typo: the method called is do_SPAM, not handle_SPAM.
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 @@
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: