[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 eaa694fb7d

Closes https://github.com/searxng/searxng/security/code-scanning/276
Closes https://github.com/searxng/searxng/security/dependabot/37
This commit is contained in:
Ivan Gabaldon
2025-11-06 10:09:10 +01:00
committed by GitHub
parent b1918dd121
commit 7af922c9df
9 changed files with 3 additions and 36 deletions

View File

@@ -1040,7 +1040,6 @@ def image_proxy():
request_headers = {
'User-Agent': gen_useragent(),
'Accept': 'image/webp,*/*',
'Accept-Encoding': 'gzip, deflate',
'Sec-GPC': '1',
'DNT': '1',
}