[web/views/cwuser] fix encoding of FoafView to application/rdf+xml 3.27
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Sat, 01 Feb 2020 22:00:03 +0100
branch3.27
changeset 12866 fa39f3305911
parent 12864 96af8cdcdc7d
child 12867 50122959acbc
[web/views/cwuser] fix encoding of FoafView to application/rdf+xml
cubicweb/web/views/cwuser.py
--- a/cubicweb/web/views/cwuser.py	Fri Jan 31 17:24:45 2020 +0100
+++ b/cubicweb/web/views/cwuser.py	Sat Feb 01 22:00:03 2020 +0100
@@ -57,7 +57,7 @@
 
     title = _('foaf')
     templatable = False
-    content_type = 'text/xml'
+    content_type = 'application/rdf+xml'
 
     def call(self):
         self.w(u'''<?xml version="1.0" encoding="%s"?>