From: Benoît Pin Date: Mon, 22 Jul 2013 21:30:08 +0000 (+0200) Subject: Content-Type initialisé sur text/xml pour la réponse de put_upload. X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/commitdiff_plain/2707b39eef0714a12912f38eac62633aeb691f6f?ds=sidebyside;hp=351e9460c5a2215ba574374c37cde06f1ceb55a9 Content-Type initialisé sur text/xml pour la réponse de put_upload. --- diff --git a/Folder.py b/Folder.py index db87868..9853b7b 100644 --- a/Folder.py +++ b/Folder.py @@ -348,6 +348,7 @@ class PlinnFolder(CMFCatalogAware, PortalFolder, DefaultDublinCoreImpl) : method_id = ti.queryMethodID('jsupload_snippet') meth = method_id and getattr(ob, method_id) or (lambda : 'Not implemented') RESPONSE.setStatus(httpRespCode) + RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8') return '' % meth()