From e2cf0a7f28d8d3c18f2190c11de4cf28b063b162 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 25 Apr 2024 09:49:35 +0200 Subject: [PATCH] cleanup print --- teleforma/views/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/views/core.py b/teleforma/views/core.py index cf090f73..1c6a4b83 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -311,7 +311,7 @@ def nginx_media_accel(url, content_type="", buffering=True, streaming=False): if not streaming: response['Content-Disposition'] = "attachment; filename=%s" % ( filename) - print(content_type) + response['Content-Type'] = content_type response['X-Accel-Redirect'] = url -- 2.39.5