Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing

server to resource in the 405 response msg.
This commit is contained in:
Senthil Kumaran 2010-02-22 10:55:08 +00:00
parent 25d6ddd38b
commit ee5546c316
1 changed files with 1 additions and 1 deletions

View 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.'),