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")
def _get_connection(self, url): conn = Session._get_connection(self, url) auth.bind(conn, service="couchdb") return conn