From 7af922c9dfff6e60974eb2dfcb1399f4573820f4 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Thu, 6 Nov 2025 10:09:10 +0100 Subject: [enh] py: drop deps (#5407) The difference between decompression with brotli or gzip in HTML files is negligible for 3 MB of compiled binary package. Introduced in https://github.com/searxng/searxng/commit/eaa694fb7d0e47b943bc6d6edb6cb6a40ab2d85e Closes https://github.com/searxng/searxng/security/code-scanning/276 Closes https://github.com/searxng/searxng/security/dependabot/37 --- searx/search/checker/impl.py | 1 - 1 file changed, 1 deletion(-) (limited to 'searx/search/checker/impl.py') diff --git a/searx/search/checker/impl.py b/searx/search/checker/impl.py index cf1f03449..354cbadc7 100644 --- a/searx/search/checker/impl.py +++ b/searx/search/checker/impl.py @@ -82,7 +82,6 @@ def _download_and_check_if_image(image_url: str) -> bool: 'User-Agent': gen_useragent(), 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Accept-Language': 'en-US;q=0.5,en;q=0.3', - 'Accept-Encoding': 'gzip, deflate, br', 'DNT': '1', 'Connection': 'keep-alive', 'Upgrade-Insecure-Requests': '1', -- cgit v1.2.3