Ticket #9087: feed_mimetype.diff
File feed_mimetype.diff, 499 bytes (added by , 16 years ago) |
---|
-
django/utils/feedgenerator.py
diff --git a/django/utils/feedgenerator.py b/django/utils/feedgenerator.py index de924a3..901c731 100644
a b class Enclosure(object): 174 174 self.url = iri_to_uri(url) 175 175 176 176 class RssFeed(SyndicationFeed): 177 mime_type = 'application/ rss+xml'177 mime_type = 'application/xml' 178 178 def write(self, outfile, encoding): 179 179 handler = SimplerXMLGenerator(outfile, encoding) 180 180 handler.startDocument()