def mkdir(self, href):
        """
        create remote folder
        :param href: remote path
        :return: response
        """
        for iTry in range(TRYINGS):
            logger.info(u("mkdir(%s): %s") % (iTry, href))
            try:
                href = remote(href)
                con = self.getConnection()
                con.request("MKCOL", _encode_utf8(href), "", self.getHeaders())
                response = con.getresponse()
                checkResponse(response)
                return response.read()
            except ConnectionException:
                raise
            except Exception:
                e = sys.exc_info()[1]
                logger.exception(e)
dataset/ETHPy150Open lexich/yandex-disk-webdav/yandexwebdav.py/Config.mkdir/original