def set_headers(self, headers):
        """
        Set header.
        :param headers: Headers to be used by next request (dict)
        :return: None
        """

        logger.debug("Setting headers: " + str(headers))
        self.headers = headers