diff options
| author | Ivan Gabaldon <igabaldon@inetol.net> | 2025-11-06 10:09:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-06 10:09:10 +0100 |
| commit | 7af922c9dfff6e60974eb2dfcb1399f4573820f4 (patch) | |
| tree | fc717f4037f5d82e1fe59b9ff5cf31f77f15729d /searx/search | |
| parent | b1918dd12110c183fc1fba1c51778a32e6cb4049 (diff) | |
[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
Diffstat (limited to 'searx/search')
| -rw-r--r-- | searx/search/checker/impl.py | 1 |
1 files changed, 0 insertions, 1 deletions
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', |