[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>
This commit is contained in:
Markus Heiser 2023-10-01 20:13:08 +02:00 committed by Markus Heiser
parent e509cb7c45
commit d56b31d674

View file

@ -51,7 +51,6 @@ from . import (
http_accept, http_accept,
http_accept_encoding, http_accept_encoding,
http_accept_language, http_accept_language,
http_connection,
http_user_agent, http_user_agent,
ip_limit, ip_limit,
ip_lists, ip_lists,
@ -136,7 +135,6 @@ def filter_request(request: flask.Request) -> werkzeug.Response | None:
http_accept, http_accept,
http_accept_encoding, http_accept_encoding,
http_accept_language, http_accept_language,
http_connection,
http_user_agent, http_user_agent,
ip_limit, ip_limit,
]: ]: