mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-01 07:03:02 +00:00
refactor(proxy): drop the get_response_headers docstring
This commit is contained in:
parent
18bc1d1fd0
commit
0bbc31c260
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue