From 2707b39eef0714a12912f38eac62633aeb691f6f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Mon, 22 Jul 2013 23:30:08 +0200 Subject: [PATCH 1/1] =?utf8?q?Content-Type=20initialis=C3=A9=20sur=20text/?= =?utf8?q?xml=20pour=20la=20r=C3=A9ponse=20de=20put=5Fupload.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Folder.py | 1 + 1 file changed, 1 insertion(+) 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() -- 2.20.1