@@ -81,7 +81,7 @@ except ImportError:
82# serve pages with HTTP/1.1
82# serve pages with HTTP/1.1
83from werkzeug.serving import WSGIRequestHandler
83from werkzeug.serving import WSGIRequestHandler
84−WSGIRequestHandler.protocol_version = "HTTP/{}".format(settings['server']['http_protocol_version'])
84+WSGIRequestHandler.protocol_version = "HTTP/{}".format(settings['server'].get('http_protocol_version', '1.0'))
86static_path, templates_path, themes =\
86static_path, templates_path, themes =\
87 get_themes(settings['ui']['themes_path']
87 get_themes(settings['ui']['themes_path']