mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Merge pull request #2557 from dalf/fix-raise_for_httperror
Fix: activate raise_for_error by default
This commit is contained in:
		
						commit
						63d6ccfbc2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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': | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Alexandre Flament
						Alexandre Flament