This commit is contained in:
Markus Heiser
2025-02-09 15:06:46 +01:00
committed by GitHub
3 changed files with 19 additions and 4 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ def extract_response_info(result):
def response(resp):
'''Scrap *results* from the response (see :ref:`engine results`).'''
'''Scrap *results* from the response (see :ref:`result types`).'''
results = []
if no_result_for_http_status and resp.status_code in no_result_for_http_status:
+3 -2
View File
@@ -100,8 +100,9 @@ server:
image_proxy: false
# 1.0 and 1.1 are supported
http_protocol_version: "1.0"
# POST queries are more secure as they don't show up in history but may cause
# problems when using Firefox containers
# POST queries are "more secure!" but are also the source of hard-to-locate
# annoyances, which is why GET may be better for end users and their browsers.
# see https://github.com/searxng/searxng/pull/3619
method: "POST"
default_http_headers:
X-Content-Type-Options: nosniff