From 769671b0d4070d564ac9c153fce36183666d2310 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 26 Jun 2021 09:35:44 +0200 Subject: [PATCH] Fix: content-type of page with SVG graph --- app/scodoc/sco_report.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/scodoc/sco_report.py b/app/scodoc/sco_report.py index 95f22517..9166e2b4 100644 --- a/app/scodoc/sco_report.py +++ b/app/scodoc/sco_report.py @@ -1594,7 +1594,6 @@ def formsemestre_graph_parcours( % MAX_ETUD_IN_DESCR, html_sco_header.sco_footer(context, REQUEST), ] - REQUEST.RESPONSE.setHeader("content-type", "application/xhtml+xml") return "\n".join(H) else: raise ValueError("invalid format: %s" % format)