mirror of
https://github.com/searxng/searxng.git
synced 2025-07-13 00:09:18 +02:00
[enh] configurable listening http protocol version
This commit is contained in:
parent
383160e99a
commit
a98bbefbcf
2 changed files with 2 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue