Mercurial > cpython-lru_cache-weakref
diff Lib/BaseHTTPServer.py @ 58993:581e21d7a192 legacy-trunk
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 10:55:08 +0000 |
| parents | ffd7cf5c7285 |
| children | 2c429d8c5ee2 |
line wrap: on
line diff
--- a/Lib/BaseHTTPServer.py Mon Feb 22 02:29:10 2010 +0000 +++ b/Lib/BaseHTTPServer.py Mon Feb 22 10:55:08 2010 +0000 @@ -543,7 +543,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.'),
