Mercurial > cpython-lru_cache-weakref
diff Lib/http/server.py @ 58995:f8ddfced2a34
Merged revisions 78299 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78299 | senthil.kumaran | 2010-02-22 16:25:08 +0530 (Mon, 22 Feb 2010) | 4 lines
Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing
server to resource in the 405 response msg.
........
| author | Senthil Kumaran <orsenthil@gmail.com> |
|---|---|
| date | Mon, 22 Feb 2010 11:00:50 +0000 |
| parents | 12e0c9ea304e |
| children | e2a9f633d612 |
line wrap: on
line diff
--- a/Lib/http/server.py Sun Feb 21 14:50:48 2010 +0000 +++ b/Lib/http/server.py Mon Feb 22 11:00:50 2010 +0000 @@ -563,7 +563,7 @@ '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.'),
