diff --git a/tests/integration/observability/test_grayswan_wire.py b/tests/integration/observability/test_grayswan_wire.py index 13d49f1095f..64ed6074f31 100644 --- a/tests/integration/observability/test_grayswan_wire.py +++ b/tests/integration/observability/test_grayswan_wire.py @@ -146,7 +146,13 @@ def _chat_provider(message: dict[str, JsonValue]): def _normalized_generic_body(body: dict[str, JsonValue]) -> dict[str, JsonValue]: headers: Final = body.get("request_headers") normalized_headers: Final = ( - {**headers, "host": "", "content-length": "", "user-agent": ""} + { + **headers, + "host": "", + "content-length": "", + "user-agent": "", + "accept-encoding": "", + } if isinstance(headers, dict) else headers ) @@ -1164,7 +1170,7 @@ def test_post_call_generic_guardrail_inputs_unchanged(gateway: Gateway, tmp_path }, "request_headers": { "accept": "*/*", - "accept-encoding": "gzip, deflate, br", + "accept-encoding": "", "connection": "keep-alive", "content-length": "", "content-type": "application/json",