Update litellm/proxy/common_request_processing.py

Co-authored-by: veria-ai[bot] <224490171+veria-ai[bot]@users.noreply.github.com>
This commit is contained in:
Yuriy 2026-06-22 22:11:58 +03:00 committed by GitHub
parent 4fc3e2e064
commit 625ce95091
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -740,7 +740,7 @@ class ProxyBaseLLMRequestProcessing:
Proxy/custom headers win on key collisions.
"""
excluded_headers = {"transfer-encoding", "content-encoding"}
excluded_headers = {"transfer-encoding", "content-encoding", "set-cookie", "connection", "keep-alive", "proxy-authenticate", "proxy-authorization", "te", "trailer", "upgrade"}
merged_headers = {
key: value