Skip Menu |

This queue is for tickets about the Yahoo-Search CPAN distribution.

Report information
The Basics
Id: 11705
Status: resolved
Priority: 0/
Queue: Yahoo-Search

People
Owner: Nobody in particular
Requestors: sf [...] flacks.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.0.0
Fixed in: (no value)



Subject: Proxy settings are ignored
The following patch adds the 'env_proxy' option to the LWP::UserAgent request so Yahoo::Search can be used through web proxies. --- Yahoo\Search\Request.pm.orig 2005-03-01 17:58:36.000000000 +0000 +++ Yahoo\Search\Request.pm 2005-03-01 17:58:32.000000000 +0000 @@ -173,5 +173,5 @@ warn "Fetching url: $url\n" if $Request->{Debug} =~ m/url/x; - my $response = LWP::UserAgent->new(agent => "Yahoo::Search $Yahoo::Search: :VERSION)")->request(HTTP::Request->new(GET => $url)); + my $response = LWP::UserAgent->new(agent => "Yahoo::Search ($Yahoo::Search::VERSION)", env_proxy => 1)->request(HTTP::Request->new(GET => $url)); ##
Sigh, you'd think that checking for a proxy would be the default... Thanks, fixed in 1.0.2 Jeffrey