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
[enh] configurable listening http protocol version
Adam Taubera98bbefbcf89
diff --git a/searx/settings.yml b/searx/settings.ymlindex 69699605d..a475433a9 100644--- a/searx/settings.yml+++ b/searx/settings.yml@@ -13,6 +13,7 @@ server:secret_key : "ultrasecretkey" # change this!base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"image_proxy : False # Proxying image results through searx+ http_protocol_version : "1.0" # 1.0 and 1.1 are supportedui:themes_path : "" # Custom ui themes path - leave it blank if you didn't changediff --git a/searx/webapp.py b/searx/webapp.pyindex 096e1f269..f8253ec00 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/1.1"+WSGIRequestHandler.protocol_version = "HTTP/{}".format(settings['server']['http_protocol_version'])static_path, templates_path, themes =\get_themes(settings['ui']['themes_path']