Changing Content-Type to be RSS2.0 compliant

This commit is contained in:
Laszlo Zeke 2017-04-02 21:18:28 +02:00
parent 620f4c3d20
commit 4555518112
1 changed files with 1 additions and 1 deletions

View File

@ -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):