From f86dc8f54e9bbee403c185e02196610e6ef76bd2 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Mon, 17 Aug 2026 13:09:17 -0700 Subject: [PATCH] test(proxy): assert non-Bedrock passthrough stream emits no content-type header --- tests/test_litellm/proxy/test_common_request_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/proxy/test_common_request_processing.py b/tests/test_litellm/proxy/test_common_request_processing.py index 7b762457bc8..e567d19dac7 100644 --- a/tests/test_litellm/proxy/test_common_request_processing.py +++ b/tests/test_litellm/proxy/test_common_request_processing.py @@ -4564,7 +4564,7 @@ class TestAllmPassthroughStreamingProviderGate: assert isinstance(result, StreamingResponse) assert result.media_type is None - assert result.headers.get("content-type") != "application/vnd.amazon.eventstream" + assert "content-type" not in result.headers class TestResponseCostHeaderForTypedDictResponses: