From a98bbefbcf89ad8d5959c0ddd1c02ab65b92913d Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 25 Dec 2016 23:02:57 +0100 Subject: [enh] configurable listening http protocol version --- searx/webapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/webapp.py') 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'] -- cgit v1.2.3-54-g00ecf