summaryrefslogtreecommitdiff
path: root/searx/search/processors
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2026-05-31 22:36:36 +0200
committerBnyro <bnyro@tutanota.com>2026-06-03 22:37:13 +0200
commit577f5f2f307d6a0261a6d57d914886d90ee106da (patch)
tree705bde5189f3f24175175d951860c20cf88ef3f9 /searx/search/processors
parent253dc86c1095535aa08a05148034a240b6e320e5 (diff)
[fix] online engines: send_accept_language_header is sent even if disabled
Diffstat (limited to 'searx/search/processors')
-rw-r--r--searx/search/processors/online.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py
index 427aff6e0..c4967ef6a 100644
--- a/searx/search/processors/online.py
+++ b/searx/search/processors/online.py
@@ -152,7 +152,6 @@ class OnlineProcessor(EngineProcessor):
# add Accept-Language header
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Language
- headers["Accept-Language"] = "en,en-US;q=0.7,en;q=0.3"
if self.engine.send_accept_language_header and search_query.locale:
_l = search_query.locale.language
_t = search_query.locale.territory or _l