[Bps-public-commit] r17602 - Net-Google-Code/trunk/lib/Net/Google/Code
fayland at bestpractical.com
fayland at bestpractical.com
Tue Jan 6 21:10:24 EST 2009
Author: fayland
Date: Tue Jan 6 21:10:24 2009
New Revision: 17602
Modified:
Net-Google-Code/trunk/lib/Net/Google/Code/Connection.pm
Log:
add agent, stack_depth and timeout for WWW::Mechanize
Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Connection.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Connection.pm (original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Connection.pm Tue Jan 6 21:10:24 2009
@@ -21,7 +21,12 @@
lazy => 1,
default => sub {
my $self = shift;
- my $m = Net::Google::Code::Mechanize->new();
+ my $m = Net::Google::Code::Mechanize->new(
+ agent => 'Net-Google-Code',
+ cookie_jar => {},
+ stack_depth => 1,
+ timeout => 60,
+ );
return $m;
}
);
More information about the Bps-public-commit
mailing list