diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2016-10-29 17:46:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-29 17:46:57 +0200 |
| commit | 574d9d40d25734477b90ea482377e276ced1ec1e (patch) | |
| tree | 183dc2070daf6fb90ee6c3c6cbaf9042aae9d564 /searx/webapp.py | |
| parent | 3e7554422b7d177e12838882ed0b84878278825e (diff) | |
| parent | a88768efd8ee6b832febda8508cb1ba3c8778b94 (diff) | |
Merge pull request #697 from Eig8phei/http1.1
serve pages with HTTP/1.1
Diffstat (limited to 'searx/webapp.py')
| -rw-r--r-- | searx/webapp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 6a1bb4efb..860208cd2 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -78,6 +78,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'] |