mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix: strip stale Content-Length header in pass-through endpoint after gzip decompression
Fixes #25624
This commit is contained in:
parent
0eae9f101e
commit
7a57f7c737
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ class HttpPassThroughEndpointHelpers(BasePassthroughUtils):
|
|||
litellm_call_id: Optional[str] = None,
|
||||
custom_headers: Optional[dict] = None,
|
||||
) -> dict:
|
||||
excluded_headers = {"transfer-encoding", "content-encoding"}
|
||||
excluded_headers = {"transfer-encoding", "content-encoding", "content-length"}
|
||||
|
||||
return_headers = {
|
||||
key: value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue