summaryrefslogtreecommitdiff
path: root/searx/botdetection
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-10-01 20:13:08 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-10-01 20:24:22 +0200
commitd56b31d67473e0970bc457469b0cbec2e35f8b10 (patch)
treedc80d5632b63bd5d5c03a75e856b53046af1b16e /searx/botdetection
parente509cb7c459a59c6793922bce6ce0cc57006aac6 (diff)
downloadsearxng-d56b31d67473e0970bc457469b0cbec2e35f8b10.tar.gz
searxng-d56b31d67473e0970bc457469b0cbec2e35f8b10.zip
[fix] limiter / botdetection: remove http_connection method
Related: - https://github.com/searxng/searxng/issues/2892#issuecomment-1742153932 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/botdetection')
-rw-r--r--searx/botdetection/limiter.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/botdetection/limiter.py b/searx/botdetection/limiter.py
index f8509d5a6..9b3532f0d 100644
--- a/searx/botdetection/limiter.py
+++ b/searx/botdetection/limiter.py
@@ -51,7 +51,6 @@ from . import (
http_accept,
http_accept_encoding,
http_accept_language,
- http_connection,
http_user_agent,
ip_limit,
ip_lists,
@@ -136,7 +135,6 @@ def filter_request(request: flask.Request) -> werkzeug.Response | None:
http_accept,
http_accept_encoding,
http_accept_language,
- http_connection,
http_user_agent,
ip_limit,
]: