.oO SearXNG Developer Documentation Oo.
|
Functions | |
werkzeug.Response|None | filter_request (IPv4Network|IPv6Network network, flask.Request request, config.Config cfg) |
Method ``http_connection`` -------------------------- The ``http_connection`` method evaluates a request as the request of a bot if the Connection_ header is set to ``close``. .. _Connection: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection
werkzeug.Response | None searx.botdetection.http_connection.filter_request | ( | IPv4Network | IPv6Network | network, |
flask.Request | request, | ||
config.Config | cfg ) |
Definition at line 28 of file http_connection.py.