summaryrefslogtreecommitdiff
path: root/searx/enginelib
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2026-02-20 15:04:59 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2026-02-22 09:30:16 +0100
commit490f28f0a6649f6cfdd1b2d00f488b381c3a9d1e (patch)
tree622d783898ec23348ba1c225508c7a9910b3f95b /searx/enginelib
parentcc39cf7df3f083b8f9b45d6ecdbbb84181ebabd4 (diff)
[mod] online engines - set common HTTP headers
The online engines emulate a request as it would come from a web browser, which is why the HTTP headers in the default settings should also be set the way a standard web browser would set them. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/enginelib')
-rw-r--r--searx/enginelib/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/enginelib/__init__.py b/searx/enginelib/__init__.py
index 9d864e622..ad112df24 100644
--- a/searx/enginelib/__init__.py
+++ b/searx/enginelib/__init__.py
@@ -298,9 +298,9 @@ class Engine(abc.ABC): # pylint: disable=too-few-public-methods
"""Using tor proxy (``true``) or not (``false``) for this engine."""
send_accept_language_header: bool
- """When this option is activated, the language (locale) that is selected by
- the user is used to build and send a ``Accept-Language`` header in the
- request to the origin search engine."""
+ """When this option is activated (default), the language (locale) that is
+ selected by the user is used to build and send a ``Accept-Language`` header
+ in the request to the origin search engine."""
tokens: list[str]
"""A list of secret tokens to make this engine *private*, more details see