cubicweb/web/views/cwuser.py
branch3.27
changeset 12866 fa39f3305911
parent 12567 26744ad37953
equal deleted inserted replaced
12864:96af8cdcdc7d 12866:fa39f3305911
    55     __regid__ = 'foaf'
    55     __regid__ = 'foaf'
    56     __select__ = is_instance('CWUser')
    56     __select__ = is_instance('CWUser')
    57 
    57 
    58     title = _('foaf')
    58     title = _('foaf')
    59     templatable = False
    59     templatable = False
    60     content_type = 'text/xml'
    60     content_type = 'application/rdf+xml'
    61 
    61 
    62     def call(self):
    62     def call(self):
    63         self.w(u'''<?xml version="1.0" encoding="%s"?>
    63         self.w(u'''<?xml version="1.0" encoding="%s"?>
    64 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    64 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    65          xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    65          xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"