New submission from Andrew Dalke <da...@dalkescientific.com>: BaseHTTPServer.BaseHTTPRequestHandler.responses contains a mapping from HTTP status codes to the 2-ple (shortmessage, longmessage), based on RFC 2616.
The 2-ple for 405 is ('Method Not Allowed','Specified method is invalid for this server.'), RFC 405 says "An origin server SHOULD return the status code 405 (Method Not Allowed) if the method is known by the origin server but not allowed for the requested resource. I think the message should be "Specified method is invalid for this resource". That is, change "server" to "resource". ---------- components: Library (Lib) messages: 94262 nosy: dalke severity: normal status: open title: BaseHTTPServer.BaseHTTPRequestHandler.responses[405] has a small mistake type: feature request _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7172> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com