Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
fa39f3305911
Commit
4f39982f
authored
Feb 01, 2020
by
Nicolas Chauvat
Browse files
[web/views/cwuser] fix encoding of FoafView to application/rdf+xml
--HG-- branch : 3.27
parent
96af8cdcdc7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb/web/views/cwuser.py
View file @
fa39f330
...
...
@@ -57,7 +57,7 @@ class FoafView(EntityView):
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"?>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment