mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 04:00:02 +00:00
[enh] configurable listening http protocol version
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user