From 45555181122d1cc3399b31b8f4ae10c755cbe9a4 Mon Sep 17 00:00:00 2001 From: Laszlo Zeke Date: Sun, 2 Apr 2017 21:18:28 +0200 Subject: [PATCH] Changing Content-Type to be RSS2.0 compliant --- TwitchRSS/twitchrss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchRSS/twitchrss.py b/TwitchRSS/twitchrss.py index 0f4fdda..bd82df5 100644 --- a/TwitchRSS/twitchrss.py +++ b/TwitchRSS/twitchrss.py @@ -64,7 +64,7 @@ class RSSVoDServer(webapp2.RequestHandler): channel_json = self.fetch_vods(channel_id) decoded_json = json.loads(channel_json) rss_data = self.construct_rss(channel, decoded_json, channel_display_name) - self.response.headers['Content-Type'] = 'application/xhtml+xml' + self.response.headers['Content-Type'] = 'application/rss+xml' self.response.write(rss_data) def head(self,channel):