From b391a5b9061d7d41bf1ae7df71f5a5e64b8491e8 Mon Sep 17 00:00:00 2001 From: mkaay Date: Sun, 22 Nov 2009 17:44:03 +0100 Subject: fixed SecureXMLRPCServer --- module/remote/SecureXMLRPCServer.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module/remote/SecureXMLRPCServer.py') diff --git a/module/remote/SecureXMLRPCServer.py b/module/remote/SecureXMLRPCServer.py index fb666b4ab..158e44863 100644 --- a/module/remote/SecureXMLRPCServer.py +++ b/module/remote/SecureXMLRPCServer.py @@ -75,6 +75,9 @@ class SecureXMLRPCRequestHandler(SimpleXMLRPCRequestHandler): class SecureXMLRPCServer(SecureSocketServer, SimpleXMLRPCServer): def __init__(self, address, cert, key, authenticationMap = None, handler=SecureXMLRPCRequestHandler, verify_cert_func=None): self.logRequests = False + self._send_traceback_header = False + self.encoding = "utf-8" + self.allow_none = True SecureSocketServer.__init__(self, address, cert, key, handler, verify_cert_func) # This comes from SimpleXMLRPCServer.__init__()->SimpleXMLRPCDispatcher.__init__() self.funcs = {} -- cgit v1.2.3