.oO SearXNG Developer Documentation Oo.
|
Functions | |
werkzeug.Response|None | filter_request (IPv4Network|IPv6Network network, flask.Request request, config.Config cfg) |
Method ``http_accept`` ---------------------- The ``http_accept`` method evaluates a request as the request of a bot if the Accept_ header .. - did not contain ``text/html`` .. _Accept: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
werkzeug.Response | None searx.botdetection.http_accept.filter_request | ( | IPv4Network | IPv6Network | network, |
flask.Request | request, | ||
config.Config | cfg ) |
Definition at line 30 of file http_accept.py.