[issue7172] BaseHTTPServer.BaseHTTPRequestHandler.responses[405] has a small mistake

2009-10-19 Thread Andrew Dalke
Andrew Dalke added the comment: Wasn't thinking. I'm not quoting from "RFC 405", I'm quoting the 405 section from RFC 2616. -- ___ Python tracker ___ ___

[issue7172] BaseHTTPServer.BaseHTTPRequestHandler.responses[405] has a small mistake

2009-10-19 Thread Andrew Dalke
New submission from Andrew Dalke : 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 "