[enh] configurable listening http protocol version

This commit is contained in:
Adam Tauber 2016-12-25 23:02:57 +01:00
parent 383160e99a
commit a98bbefbcf
2 changed files with 2 additions and 1 deletions

View file

@ -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']