mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-23 12:45:38 +00:00
Remove isLikelyText detection from buffer content type utility (#6870)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user