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
f2dbeff6
Commit
f2dbeff6
authored
Apr 12, 2005
by
Hye-Shik Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HTTP method handler example so that method names in uppercases
can be processed. (Submitted by Jooncheol Park)
parent
30337340
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Demo/xmlrpc/xmlrpc_handler.py
Demo/xmlrpc/xmlrpc_handler.py
+1
-1
No files found.
Demo/xmlrpc/xmlrpc_handler.py
View file @
f2dbeff6
...
@@ -26,7 +26,7 @@ class xmlrpc_handler:
...
@@ -26,7 +26,7 @@ class xmlrpc_handler:
def
handle_request
(
self
,
request
):
def
handle_request
(
self
,
request
):
[
path
,
params
,
query
,
fragment
]
=
request
.
split_uri
()
[
path
,
params
,
query
,
fragment
]
=
request
.
split_uri
()
if
request
.
command
in
(
'post'
,
'put'
):
if
request
.
command
.
lower
()
in
(
'post'
,
'put'
):
request
.
collector
=
collector
(
self
,
request
)
request
.
collector
=
collector
(
self
,
request
)
else
:
else
:
request
.
error
(
400
)
request
.
error
(
400
)
...
...
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