Skip Menu |

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

Report information
The Basics
Id: 67995
Status: resolved
Priority: 0/
Queue: Bing-Search

People
Owner: Nobody in particular
Requestors: peter [...] dragonstaff.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.103290
Fixed in: (no value)



Subject: LWP needs to allow for proxy
Needs to allow for http_proxy in the environment to use web proxy. Here's a diff to fix Bing/Search.pm --- /home/edwarp11/.cpanm/latest-build/Bing-Search- 1.103490/lib/Bing/Search.pm 2010-12-15 06:53:30.000000000 +0000 +++ /home/edwarp11/perl_local1/lib/perl5/Bing/Search.pm 2011-05-06 16:11:47.000000000 +0000 @@ -59,6 +59,7 @@ $self->_make_uri; $uri = $self->request_obj(); + $self->agent->env_proxy; my $response = $self->agent->get( $uri ); unless( $response->is_success ) { croak "Failed request: $!";
Subject: Re: [rt.cpan.org #67995] LWP needs to allow for proxy
Date: Fri, 06 May 2011 14:52:06 -0700
To: bug-Bing-Search [...] rt.cpan.org
From: Dave H <dave.houston [...] gmail.com>
Thanks! Applied. Shall I give you credit in the POD, and shall I use this email address? On Fri, 2011-05-06 at 12:16 -0400, Peter Edwards via RT wrote: Show quoted text
> Fri May 06 12:16:50 2011: Request 67995 was acted upon. > Transaction: Ticket created by PEDWARDS > Queue: Bing-Search > Subject: LWP needs to allow for proxy > Broken in: 1.103290 > Severity: Important > Owner: Nobody > Requestors: peter@dragonstaff.co.uk > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67995 > > > > Needs to allow for http_proxy in the environment to use web proxy. > > Here's a diff to fix Bing/Search.pm > > > --- /home/edwarp11/.cpanm/latest-build/Bing-Search- > 1.103490/lib/Bing/Search.pm 2010-12-15 06:53:30.000000000 +0000 > +++ /home/edwarp11/perl_local1/lib/perl5/Bing/Search.pm 2011-05-06 > 16:11:47.000000000 +0000 > @@ -59,6 +59,7 @@ > $self->_make_uri; > > $uri = $self->request_obj(); > + $self->agent->env_proxy; > my $response = $self->agent->get( $uri ); > unless( $response->is_success ) { > croak "Failed request: $!"; >
Fixed on 2011-09-18.