Skip Menu |

This queue is for tickets about the WebService-Google-Language CPAN distribution.

Report information
The Basics
Id: 36009
Status: resolved
Priority: 0/
Queue: WebService-Google-Language

People
Owner: Nobody in particular
Requestors: izut [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: 0.02



Subject: Not respecting proxy environment variables
Attached is a patch to enable the use of proxy environment variables within LWP::UserAgent.
Subject: proxy.patch
--- WebService-Google-Language-0.01.orig/lib/WebService/Google/Language.pm 2008-05-19 17:24:57.000000000 +0200 +++ WebService-Google-Language-0.01/lib/WebService/Google/Language.pm 2008-05-19 17:25:13.000000000 +0200 @@ -40,6 +40,7 @@ $conf{'agent'} = __PACKAGE__ . ' ' . $VERSION unless defined $conf{'agent'}; my $ua = LWP::UserAgent->new(%conf); $ua->default_header('referer' => $referer); + $ua->env_proxy; $self->{'ua'} = $ua; bless $self, $class;
Patch applied in version 0.02