summaryrefslogtreecommitdiffstats
path: root/Demo/xmlrpc/xmlrpc_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/xmlrpc/xmlrpc_handler.py')
-rw-r--r--Demo/xmlrpc/xmlrpc_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/xmlrpc/xmlrpc_handler.py b/Demo/xmlrpc/xmlrpc_handler.py
index 1935475..359d6f1 100644
--- a/Demo/xmlrpc/xmlrpc_handler.py
+++ b/Demo/xmlrpc/xmlrpc_handler.py
@@ -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)