Fix: content-type of page with SVG graph

This commit is contained in:
Emmanuel Viennet 2021-06-26 09:35:44 +02:00
parent eba7e17628
commit 769671b0d4
1 changed files with 0 additions and 1 deletions

View File

@ -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)