Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] debug message parameter

Adam Tauberff322d3373c6
diff --git a/searx/webapp.py b/searx/webapp.py
index 15f769a3b..fb7157b47 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -697,7 +697,7 @@ def image_proxy():
return '', 400
if not resp.headers.get('content-type', '').startswith('image/'):
- logger.debug('image-proxy: wrong content-type: {0}'.format(resp.get('content-type')))
+ logger.debug('image-proxy: wrong content-type: {0}'.format(resp.headers.get('content-type')))
return '', 400
img = ''