From 0bbc31c26056e2d25b17f623a60de5cfa3a46d07 Mon Sep 17 00:00:00 2001 From: yucheng Date: Sat, 31 Oct 2026 13:52:10 -0700 Subject: [PATCH] refactor(proxy): drop the get_response_headers docstring --- litellm/proxy/pass_through_endpoints/pass_through_endpoints.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py index e5281f452e8..0a29a71cd06 100644 --- a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py +++ b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py @@ -501,8 +501,6 @@ class HttpPassThroughEndpointHelpers(BasePassthroughUtils): custom_headers: Mapping[str, str] | None = None, guardrail_request_data: Sequence[object] = (), ) -> dict: - """The upstream response headers to relay, plus the call id, ``custom_headers`` and the guardrail headers - for what guardrails recorded in ``guardrail_request_data``.""" # Exclude headers that uvicorn writes itself (server, date) and # encoding/length headers that don't survive re-serialization. # If we forward the upstream's Server header, uvicorn adds its