Initialisation du Content-Type à text/xml.
authorBenoît Pin <benoit.pin@gmail.com>
Tue, 23 Jul 2013 08:45:18 +0000 (10:45 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Tue, 23 Jul 2013 08:45:18 +0000 (10:45 +0200)
skins/photo_gridthumbnail.pt

index 0e410a0..7d7fc45 100644 (file)
@@ -6,7 +6,8 @@
   infos here/getPhotoInfo;
   info infos/info;
   features infos/features;
   infos here/getPhotoInfo;
   info infos/info;
   features infos/features;
-  slide_size portal_object/slide_size;"
+  slide_size portal_object/slide_size;
+  dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')"
   tal:omit-tag="">
     <div metal:use-macro="here/photo_layout_macros/macros/thumbnail"></div>
   </div>
   tal:omit-tag="">
     <div metal:use-macro="here/photo_layout_macros/macros/thumbnail"></div>
   </div>