From 4de856bf19a4e5346c806dc7b782934abecd1969 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 1 Oct 2023 20:13:08 +0200 Subject: [PATCH] [fix] limiter / botdetection: remove http_connection method Related: - https://github.com/searxng/searxng/issues/2892#issuecomment-1742153932 Signed-off-by: Markus Heiser --- searx/botdetection/limiter.py | 2 -- 1 file changed, 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, ]: