+# $Id$
+
import safexmlrpc
import hmac, sha
the new session-based method.
"""
- def __init__(self, uri, cacert, auth, timeout = 300, **kwds):
+ def __init__(self, uri, cacert, auth, timeout = 90, **kwds):
if isinstance(auth, (tuple, list)):
(self.node_id, self.key) = auth
self.session = None
if self.session is not None:
# Use session authentication
- auth = {'session': self.session}
+ auth = {'AuthMethod': "session",
+ 'session': self.session}
else:
# Yes, this is the "canonicalization" method used.
args = canonicalize(params)