def METHOD_NAME(self, url: str, retries: int, timeout: int) -> str:
    """
    Get template from the web
    :param url: The url to the template
    :param retries: The number of retry attempts.
    :param timeout: The timeout for the session in seconds.
    :raises: :class:`requests.exceptions.HTTPError`: When a download error occurs
    """
    self.logger.debug("Downloading file from: %s", url)
    session = self._get_retry_session(retries=retries)
    response = session.get(url, timeout=timeout)
    # If the response was unsuccessful, raise an error.
    response.raise_for_status()
    return response.content