projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
351e946
)
Content-Type initialisé sur text/xml pour la réponse de put_upload.
author
Benoît Pin
<pin@cri.ensmp.fr>
Mon, 22 Jul 2013 21:30:08 +0000
(23:30 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Mon, 22 Jul 2013 21:30:08 +0000
(23:30 +0200)
Folder.py
patch
|
blob
|
history
diff --git
a/Folder.py
b/Folder.py
index
db87868
..
9853b7b
100644
(file)
--- 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 '<![CDATA[%s]]>' % meth()