.oO SearXNG Developer Documentation Oo.
|
Functions | |
werkzeug.Response|None | filter_request (IPv4Network|IPv6Network network, flask.Request request, config.Config cfg) |
Method ``http_accept_language`` ------------------------------- The ``http_accept_language`` method evaluates a request as the request of a bot if the Accept-Language_ header is unset. .. _Accept-Language: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent
werkzeug.Response | None searx.botdetection.http_accept_language.filter_request | ( | IPv4Network | IPv6Network | network, |
flask.Request | request, | ||
config.Config | cfg ) |
Definition at line 27 of file http_accept_language.py.