﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15237	Django generated Atom/RSS feeds don't specify charset=utf8 in their Content-Type	simon	Jason Kotenko	"Atom feeds containing UTF8 characters should be served with a Content-Type of ""application/atom+xml; charset=utf8"". At the moment Django's default behaviour is to serve them without the charset bit, and it's not particularly easy to over-ride this behaviour:

http://code.djangoproject.com/browser/django/trunk/django/utils/feedgenerator.py#L290

The workaround I'm using at the moment is to wrap the feed in a view function which over-rides the content-type on the generated response object, but it's a bit of a hack:

{{{
def feed(request):
    response = MyFeed()(request)
    response['Content-Type'] = 'application/atom+xml; charset=utf-8'
    return response
}}}"	Bug	closed	contrib.syndication	1.3	Normal	fixed		Jason Kotenko shadow techtonik@…	Ready for checkin	0	0	0	0	1	0
