SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] robot tests ++ set default value for server http protocol version
Adam Tauber14f58bdaecb2
diff --git a/searx/settings_robot.yml b/searx/settings_robot.ymlindex 7d2701449..dbaf2fd52 100644--- a/searx/settings_robot.yml+++ b/searx/settings_robot.yml@@ -13,6 +13,7 @@ server:secret_key : "ultrasecretkey" # change this!base_url : Falseimage_proxy : False+ http_protocol_version : "1.0"ui:themes_path : ""diff --git a/searx/webapp.py b/searx/webapp.pyindex f8253ec00..8f02a034e 100644--- a/searx/webapp.py+++ b/searx/webapp.py@@ -81,7 +81,7 @@ except ImportError:# serve pages with HTTP/1.1from werkzeug.serving import WSGIRequestHandler-WSGIRequestHandler.protocol_version = "HTTP/{}".format(settings['server']['http_protocol_version'])+WSGIRequestHandler.protocol_version = "HTTP/{}".format(settings['server'].get('http_protocol_version', '1.0'))static_path, templates_path, themes =\get_themes(settings['ui']['themes_path']