def METHOD_NAME(url: str) -> str:
    parsed = urlparse(url)
    if not parsed.netloc and not parsed.scheme:
        host = f"http://caddy" if is_localhost() else current_app.config["TIM_HOST"]
        url = host + url
    try:
        r = requests.get(url)
    except Exception as ex:
        raise RouteException(str(ex) + " " + url)
    return r.content.decode("utf-8")