From 95c31e46a313dbe0dc851052da210fcbb15a1c49 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Tue, 9 Apr 2013 16:45:03 +0200 Subject: respect proxy environment variables --- lib/Travel/Routing/DE/VRR.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Travel') diff --git a/lib/Travel/Routing/DE/VRR.pm b/lib/Travel/Routing/DE/VRR.pm index e2dcce0..a9a5ee1 100644 --- a/lib/Travel/Routing/DE/VRR.pm +++ b/lib/Travel/Routing/DE/VRR.pm @@ -411,6 +411,7 @@ sub submit { my ( $self, %conf ) = @_; $self->{ua} = LWP::UserAgent->new(%conf); + $self->{ua}->env_proxy; my $response = $self->{ua} ->post( 'http://efa.vrr.de/vrr/XSLT_TRIP_REQUEST2', $self->{post} ); -- cgit v1.2.3