[Jifty-commit] r6169 - in jifty/trunk: lib/Jifty lib/Jifty/Test/WWW

Jifty commits jifty-commit at lists.jifty.org
Fri Dec 19 23:54:15 EST 2008


Author: alexmv
Date: Fri Dec 19 23:54:15 2008
New Revision: 6169

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Client.pm
   jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm

Log:
 r40130 at kohr-ah:  chmrr | 2008-12-19 23:53:59 -0500
  * LWP::UserAgent explodes unless http_proxy looks like a URI, and '' doesn't cut it


Modified: jifty/trunk/lib/Jifty/Client.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Client.pm	(original)
+++ jifty/trunk/lib/Jifty/Client.pm	Fri Dec 19 23:54:15 2008
@@ -4,7 +4,7 @@
 package Jifty::Client;
 use base qw/WWW::Mechanize/;
 
-$ENV{'http_proxy'} = ''; # Otherwise WWW::Mechanize tries to go through your HTTP proxy
+delete $ENV{'http_proxy'}; # Otherwise WWW::Mechanize tries to go through your HTTP proxy
 
 use Jifty::YAML;
 use HTTP::Cookies;

Modified: jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm	(original)
+++ jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm	Fri Dec 19 23:54:15 2008
@@ -4,7 +4,7 @@
 package Jifty::Test::WWW::Mechanize;
 use base qw/Test::WWW::Mechanize/;
 
-$ENV{'http_proxy'} = ''; # Otherwise Test::WWW::Mechanize tries to go through your HTTP proxy
+delete $ENV{'http_proxy'}; # Otherwise Test::WWW::Mechanize tries to go through your HTTP proxy
 
 use Jifty::YAML;
 use HTML::Lint;


More information about the Jifty-commit mailing list