From 34de0cb7e5948cc5ed094e473dd23a1db113fe86 Mon Sep 17 00:00:00 2001 From: Laszlo Zeke Date: Sat, 21 Jan 2017 21:35:22 +0100 Subject: [PATCH] Add support for HEAD --- TwitchRSS/twitchrss.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TwitchRSS/twitchrss.py b/TwitchRSS/twitchrss.py index fc130bd..0361e9a 100644 --- a/TwitchRSS/twitchrss.py +++ b/TwitchRSS/twitchrss.py @@ -66,6 +66,9 @@ class RSSVoDServer(webapp2.RequestHandler): self.response.headers['Content-Type'] = 'application/xhtml+xml' self.response.write(rss_data) + def head(self,channel): + self.get(channel) + def fetch_userid(self, channel_name): return self.fetch_or_cache_object(channel_name, USERIDCACHE_PREFIX, USERID_URL_TEMPLATE, USERIDCACHE_LIFETIME)