Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ee5546c3
Commit
ee5546c3
authored
Feb 22, 2010
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Issue7172 - BaseHTTPServer.BaseHTTPRequestHandler.responses[405] - changing
server to resource in the 405 response msg.
parent
25d6ddd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/BaseHTTPServer.py
Lib/BaseHTTPServer.py
+1
-1
No files found.
Lib/BaseHTTPServer.py
View file @
ee5546c3
...
@@ -543,7 +543,7 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler):
...
@@ -543,7 +543,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.'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment