diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-02-12 10:56:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-12 10:56:25 +0100 |
| commit | 63d6ccfbc2f1a61a2b0b9040d89858a540ede475 (patch) | |
| tree | eaf85bebd74909fefe065f545a2d5e164666efcd | |
| parent | 74c8b5606f9bfd4a6a4c36b2d0e789b223f82c6a (diff) | |
| parent | aedf03c0f750240b19f01ed1a007043141c667dc (diff) | |
Merge pull request #2557 from dalf/fix-raise_for_httperror
Fix: activate raise_for_error by default
| -rw-r--r-- | searx/search/processors/online.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py index d79edd542..0cc175e1b 100644 --- a/searx/search/processors/online.py +++ b/searx/search/processors/online.py @@ -77,7 +77,7 @@ class OnlineProcessor(EngineProcessor): soft_max_redirects = params.get('soft_max_redirects', max_redirects or 0) # raise_for_status - request_args['raise_for_httperror'] = params.get('raise_for_httperror', False) + request_args['raise_for_httperror'] = params.get('raise_for_httperror', True) # specific type of request (GET or POST) if params['method'] == 'GET': |