diff options
author | Alexandre Flament <alex@al-f.net> | 2020-12-04 20:04:39 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2020-12-04 20:04:39 +0100 |
commit | f0054d67f11bf954cd137684950b6aea2a3956b6 (patch) | |
tree | 8c4f4752d22b69a3929c79ed5ea41f63716f5663 /.coveragerc | |
parent | f56e78ee804ba7e46ffed000dbcf0b9f3b2f7ecc (diff) | |
download | searxng-f0054d67f11bf954cd137684950b6aea2a3956b6.tar.gz searxng-f0054d67f11bf954cd137684950b6aea2a3956b6.zip |
[fix] wikipedia engine: don't raise an error when the query is not found
Add a new parameter "raise_for_status", set by default to True.
When True, any HTTP status code >= 300 raise an exception ( #2332 )
When False, the engine can manage the HTTP status code by itself.
Diffstat (limited to '.coveragerc')
0 files changed, 0 insertions, 0 deletions