def METHOD_NAME():
    """Set some request attributes at the beginning of the request.
    By default, caching will be disabled."""
    request._begin_time = time.time()
    request._app_locale = str(get_locale())
    request._session_id = request.headers.get("X-Aleph-Session")
    request._http_cache = False
    request._http_private = False
    request._http_revalidate = False
    request._http_etag = None
    request._log_tags = {}
    request._trace_id = str(uuid.uuid4())
    # First set up auth context so that we know who we are dealing with
    # when we log their activity or enforce rate limits
    enable_authz(request)
    setup_logging_context(request)
    enable_rate_limit(request)