on master help sign in
serve pages with HTTP/1.1
commitf90eb428c679d3852d9738f6279d045283340562 authorEig8phei <a.titeica@navx.com> dateThu 15 Sep 2016, 14:47 (10 years ago) parent8f48c51
1 file changed+3
searx/webapp.py+3
searx/webapp.py+3
@@ -77,6 +77,9 @@ except ImportError:
7777 logger.critical("The pyopenssl, ndg-httpsclient, pyasn1 packages have to be installed.\n"
7878 "Some HTTPS connections will fail")
7979
80+# serve pages with HTTP/1.1
81+from werkzeug.serving import WSGIRequestHandler
82+WSGIRequestHandler.protocol_version = "HTTP/1.1"
8083
8184static_path, templates_path, themes =\
8285 get_themes(settings['ui']['themes_path']