summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-11-06 10:09:10 +0100
committerGitHub <noreply@github.com>2025-11-06 10:09:10 +0100
commit7af922c9dfff6e60974eb2dfcb1399f4573820f4 (patch)
treefc717f4037f5d82e1fe59b9ff5cf31f77f15729d /searx/webapp.py
parentb1918dd12110c183fc1fba1c51778a32e6cb4049 (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/webapp.py')
-rwxr-xr-xsearx/webapp.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index d7bb37717..c1857dd87 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -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',
}