summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-12-25 23:02:57 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-12-25 23:05:01 +0100
commita98bbefbcf89ad8d5959c0ddd1c02ab65b92913d (patch)
treedf8bff34291ae031523f32cf504626ea633f2a21 /searx/webapp.py
parent383160e99a09061632b98ab850b173d03d8dc6eb (diff)
downloadsearxng-a98bbefbcf89ad8d5959c0ddd1c02ab65b92913d.tar.gz
searxng-a98bbefbcf89ad8d5959c0ddd1c02ab65b92913d.zip
[enh] configurable listening http protocol version
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 096e1f269..f8253ec00 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -81,7 +81,7 @@ except ImportError:
# serve pages with HTTP/1.1
from 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']