From: Guillaume Pellerin Date: Thu, 25 Apr 2024 07:49:35 +0000 (+0200) Subject: cleanup print X-Git-Tag: 2.10.0~2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e2cf0a7f28d8d3c18f2190c11de4cf28b063b162;p=teleforma.git cleanup print --- 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