mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-26 10:00:37 +00:00
Add charset to opds feed for read books
This commit is contained in:
parent
fdabb804cf
commit
5ec9051f2e
@ -1864,7 +1864,7 @@ def render_read_books(page, are_read, as_xml=False):
|
|||||||
if as_xml:
|
if as_xml:
|
||||||
xml = render_title_template('feed.xml', entries=entries, pagination=pagination)
|
xml = render_title_template('feed.xml', entries=entries, pagination=pagination)
|
||||||
response = make_response(xml)
|
response = make_response(xml)
|
||||||
response.headers["Content-Type"] = "application/xml"
|
response.headers["Content-Type"] = "application/xml; charset=utf-8"
|
||||||
return response
|
return response
|
||||||
else:
|
else:
|
||||||
if are_read:
|
if are_read:
|
||||||
|
Loading…
Reference in New Issue
Block a user