summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/rss.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-10-24 15:24:13 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-10-24 15:24:13 +0000
commit43ac960aa89e5a02291fe875627dac88ae7fda34 (patch)
tree6d0cb13f4c299978174d72730c602cd274bbfdba /data/rbot/plugins/rss.rb
parent77512a98814b8c8ae5e6314a8bdf30b1967d95d2 (diff)
Initial implementation of proper caching based on last-modified and etag HTTP headers
Diffstat (limited to 'data/rbot/plugins/rss.rb')
-rw-r--r--data/rbot/plugins/rss.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 192c079a..dcbccb8c 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -506,7 +506,7 @@ class RSSFeedsPlugin < Plugin
# Use 60 sec timeout, cause the default is too low
# Do not use get_cached for RSS until we have proper cache handling
# xml = @bot.httputil.get_cached(feed.url,60,60)
- xml = @bot.httputil.get(feed.url,60,60)
+ xml = @bot.httputil.get_cached(feed.url, 60, 60)
rescue URI::InvalidURIError, URI::BadURIError => e
report_problem("invalid rss feed #{feed.url}", e, m)
return