Commit ee5546c3 authored by Senthil Kumaran's avatar Senthil Kumaran

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

server to resource in the 405 response msg.
parent 25d6ddd3
...@@ -543,7 +543,7 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler): ...@@ -543,7 +543,7 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler):
'Request forbidden -- authorization will not help'), 'Request forbidden -- authorization will not help'),
404: ('Not Found', 'Nothing matches the given URI'), 404: ('Not Found', 'Nothing matches the given URI'),
405: ('Method Not Allowed', 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.'), 406: ('Not Acceptable', 'URI not available in preferred format.'),
407: ('Proxy Authentication Required', 'You must authenticate with ' 407: ('Proxy Authentication Required', 'You must authenticate with '
'this proxy before proceeding.'), 'this proxy before proceeding.'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment