summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-02-22 10:55:08 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-02-22 10:55:08 (GMT)
commitee5546c31676f181ed7c1674b7ea2b23672959b2 (patch)
tree0d9f62830f37e8e9dbe9f9a416e9b1dcfb3141b0
parent25d6ddd38b812314be1b8ddb81bc81725de6e212 (diff)
downloadcpython-ee5546c31676f181ed7c1674b7ea2b23672959b2.zip
cpython-ee5546c31676f181ed7c1674b7ea2b23672959b2.tar.gz
cpython-ee5546c31676f181ed7c1674b7ea2b23672959b2.tar.bz2
Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing
server to resource in the 405 response msg.
-rw-r--r--Lib/BaseHTTPServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/BaseHTTPServer.py b/Lib/BaseHTTPServer.py
index 9bb3ba4..c97c762 100644
--- a/Lib/BaseHTTPServer.py
+++ b/Lib/BaseHTTPServer.py
@@ -543,7 +543,7 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler):
'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.'),