Kaydet (Commit) f2dbeff6 authored tarafından Hye-Shik Chang's avatar Hye-Shik Chang

Fix HTTP method handler example so that method names in uppercases

can be processed.  (Submitted by Jooncheol Park)
üst 30337340
......@@ -26,7 +26,7 @@ class xmlrpc_handler:
def handle_request (self, request):
[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)
else:
request.error (400)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment