[SimBot-commits] CVS: simbot/plugins rss.pl,1.67,1.68
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-05-07 03:03:16
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17364/plugins Modified Files: rss.pl Log Message: Missed one. Index: rss.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/rss.pl,v retrieving revision 1.67 retrieving revision 1.68 diff -u -d -p -r1.67 -r1.68 --- rss.pl 7 May 2005 02:59:14 -0000 1.67 +++ rss.pl 7 May 2005 03:03:06 -0000 1.68 @@ -393,6 +393,7 @@ sub latest_headlines { # cache is stale or missing &SimBot::debug(4, "rss: $feed is old or missing.\n"); my $request = HTTP::Request->new(GET => $url); + $request->header('Accept-Encoding' => 'gzip, deflate'); $request->if_modified_since($last_update); $kernel->post('ua' => 'request', 'got_response', |