From 9e1c58ab6f3869c8aec78b5cd4b1697d9f88a8fb Mon Sep 17 00:00:00 2001 From: Abhishek S Lal Date: Thu, 22 Jan 2026 12:40:57 +0530 Subject: [PATCH] Remove isLikelyText detection from buffer content type utility (#6870) --- packages/bruno-app/src/utils/response/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/bruno-app/src/utils/response/index.js b/packages/bruno-app/src/utils/response/index.js index 18ab27fe3..2d8ba012b 100644 --- a/packages/bruno-app/src/utils/response/index.js +++ b/packages/bruno-app/src/utils/response/index.js @@ -250,11 +250,6 @@ export const detectContentTypeFromBuffer = (buffer) => { return 'application/gzip'; } - // Check if it's likely text (UTF-8) - if (isLikelyText(buffer.slice(0, Math.min(512, buffer.length)))) { - return 'text/plain'; - } - return null; };