From: Senthil Kumaran Date: Mon, 22 Feb 2010 10:55:08 +0000 (+0000) Subject: Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing X-Git-Tag: v2.7a4~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee5546c31676f181ed7c1674b7ea2b23672959b2;p=python Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing server to resource in the 405 response msg. --- diff --git a/Lib/BaseHTTPServer.py b/Lib/BaseHTTPServer.py index 9bb3ba4faf..c97c762a79 100644 --- a/Lib/BaseHTTPServer.py +++ b/Lib/BaseHTTPServer.py @@ -543,7 +543,7 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler): 'Request forbidden -- authorization will not help'), 404: ('Not Found', 'Nothing matches the given URI'), 405: ('Method Not Allowed', - 'Specified method is invalid for this server.'), + 'Specified method is invalid for this resource.'), 406: ('Not Acceptable', 'URI not available in preferred format.'), 407: ('Proxy Authentication Required', 'You must authenticate with ' 'this proxy before proceeding.'),