diff options
author | Alexandre Flament <alex@al-f.net> | 2020-11-26 15:12:11 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-03 10:22:48 +0100 |
commit | 1d0c368746e0ae28ea042edaf4c75ee3a2b738c2 (patch) | |
tree | 8a277759920f97677510e0e72cc0f16d84817f11 /docs | |
parent | 6b5a57882242f24f867b6aa14b79b514720c6d83 (diff) | |
download | searxng-1d0c368746e0ae28ea042edaf4c75ee3a2b738c2.tar.gz searxng-1d0c368746e0ae28ea042edaf4c75ee3a2b738c2.zip |
[enh] record details exception per engine
add an new API /stats/errors
Diffstat (limited to 'docs')
-rw-r--r-- | docs/dev/engine_overview.rst | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/docs/dev/engine_overview.rst b/docs/dev/engine_overview.rst index 5e3483fd7..0f58af765 100644 --- a/docs/dev/engine_overview.rst +++ b/docs/dev/engine_overview.rst @@ -134,16 +134,18 @@ The function ``def request(query, params):`` always returns the ``params`` variable. Inside searx, the following paramters can be used to specify a search request: -============ =========== ========================================================= -argument type information -============ =========== ========================================================= -url string requested url -method string HTTP request method -headers set HTTP header information -data set HTTP data information (parsed if ``method != 'GET'``) -cookies set HTTP cookies -verify boolean Performing SSL-Validity check -============ =========== ========================================================= +================== =========== ======================================================================== +argument type information +================== =========== ======================================================================== +url string requested url +method string HTTP request method +headers set HTTP header information +data set HTTP data information (parsed if ``method != 'GET'``) +cookies set HTTP cookies +verify boolean Performing SSL-Validity check +max_redirects int maximum redirects, hard limit +soft_max_redirects int maximum redirects, soft limit. Record an error but don't stop the engine +================== =========== ======================================================================== example code |