def METHOD_NAME(
    self, request: HttpRequest, response: HttpResponseBase
) -> HttpResponseBase:
    with metrics.timer("middleware.ratelimit.process_response"):
        try:
            rate_limit_metadata: RateLimitMeta | None = getattr(
                request, "rate_limit_metadata", None
            )
            if rate_limit_metadata:
                response["X-Sentry-Rate-Limit-Remaining"] = rate_limit_metadata.remaining
                response["X-Sentry-Rate-Limit-Limit"] = rate_limit_metadata.limit
                response["X-Sentry-Rate-Limit-Reset"] = rate_limit_metadata.reset_time
                response[
                    "X-Sentry-Rate-Limit-ConcurrentRemaining"
                ] = rate_limit_metadata.concurrent_remaining
                response[
                    "X-Sentry-Rate-Limit-ConcurrentLimit"
                ] = rate_limit_metadata.concurrent_limit
            if hasattr(request, "rate_limit_key") and hasattr(request, "rate_limit_uid"):
                finish_request(request.rate_limit_key, request.rate_limit_uid)
        except Exception:
            logging.exception("COULD NOT POPULATE RATE LIMIT HEADERS")
        return response