Ticket #9087: feed_mimetype.diff

File feed_mimetype.diff, 499 bytes (added by Arthur Koziel, 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):  
    174174        self.url = iri_to_uri(url)
    175175
    176176class RssFeed(SyndicationFeed):
    177     mime_type = 'application/rss+xml'
     177    mime_type = 'application/xml'
    178178    def write(self, outfile, encoding):
    179179        handler = SimplerXMLGenerator(outfile, encoding)
    180180        handler.startDocument()
Back to Top