From 75770dc3e7e9f528243eae50803e2a1eede9b77c Mon Sep 17 00:00:00 2001 From: Sohan Kshirsagar Date: Wed, 25 Mar 2026 16:39:50 -0700 Subject: [PATCH] fix: remove HTML from acceptable content types for trace recording --- drift/core/content_type_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drift/core/content_type_utils.py b/drift/core/content_type_utils.py index 0238013..39e4b9b 100644 --- a/drift/core/content_type_utils.py +++ b/drift/core/content_type_utils.py @@ -111,7 +111,7 @@ "application/binary": DecodedType.BINARY, } -ACCEPTABLE_DECODED_TYPES = {DecodedType.JSON, DecodedType.PLAIN_TEXT, DecodedType.HTML} +ACCEPTABLE_DECODED_TYPES = {DecodedType.JSON, DecodedType.PLAIN_TEXT} def get_decoded_type(content_type: str | None) -> DecodedType | None: