Example #1
0
 def __init__(self, url, auth=None):
     self.url = url
     self.client = WebdavClient.CollectionStorer(url)
     self.connection = self.client.connection
     self.locks = {}
     if auth:
         auth.bind(self.connection, "webdav")
Example #2
0
 def _get_connection(self, url):
     conn = Session._get_connection(self, url)
     auth.bind(conn, service="couchdb")
     return conn