]> granicus.if.org Git - python/commitdiff
Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 22 Feb 2010 10:55:08 +0000 (10:55 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 22 Feb 2010 10:55:08 +0000 (10:55 +0000)
server to resource in the 405 response msg.

Lib/BaseHTTPServer.py

index 9bb3ba4faf2c302679cf3fadf9742f34b78ebd27..c97c762a7915c2db6828b6c8583974891e53b9b0 100644 (file)
@@ -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.'),