mirror of
https://github.com/python/cpython.git
synced 2025-08-17 23:31:09 +00:00
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. ........
This commit is contained in:
parent
7ca17f0df5
commit
38bcf81151
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler):
|
||||||
'Request forbidden -- authorization will not help'),
|
'Request forbidden -- authorization will not help'),
|
||||||
404: ('Not Found', 'Nothing matches the given URI'),
|
404: ('Not Found', 'Nothing matches the given URI'),
|
||||||
405: ('Method Not Allowed',
|
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.'),
|
406: ('Not Acceptable', 'URI not available in preferred format.'),
|
||||||
407: ('Proxy Authentication Required', 'You must authenticate with '
|
407: ('Proxy Authentication Required', 'You must authenticate with '
|
||||||
'this proxy before proceeding.'),
|
'this proxy before proceeding.'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue