mirror of
https://github.com/searx/searx
synced 2025-08-30 14:08:47 +00:00
serve pages with HTTP/1.1
This commit is contained in:
@@ -77,6 +77,9 @@ except ImportError:
|
||||
logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n"
|
||||
"Some HTTPS connections will fail")
|
||||
|
||||
# serve pages with HTTP/1.1
|
||||
from werkzeug.serving import WSGIRequestHandler
|
||||
WSGIRequestHandler.protocol_version = "HTTP/1.1"
|
||||
|
||||
static_path, templates_path, themes =\
|
||||
get_themes(settings['ui']['themes_path']
|
||||
|
Reference in New Issue
Block a user