SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] webapp.py: default_http_headers not parsed as strings (#5094)
Bnyro612b76b75e91
diff --git a/searx/webapp.py b/searx/webapp.pyindex f482d4a1a..906ec93e4 100755--- a/searx/webapp.py+++ b/searx/webapp.py@@ -1387,7 +1387,8 @@ def static_headers(headers: Headers, _path: str, _url: str) -> None:headers['Cache-Control'] = 'public, max-age=30, stale-while-revalidate=60'for header, value in settings['server']['default_http_headers'].items():- headers[header] = value+ # cast value to string, as WhiteNoise requires header values to be strings+ headers[header] = str(value)app.wsgi_app = WhiteNoise(