summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
authorRoland Hieber <rohieb@rohieb.name>2013-04-09 16:45:03 +0200
committerRoland Hieber <rohieb@rohieb.name>2013-04-09 17:36:18 +0200
commit95c31e46a313dbe0dc851052da210fcbb15a1c49 (patch)
treeaaec7dc549ffece394e9240192b1651496c7cbe9 /lib/Travel
parent6b0664056bcce25b9405511c837b566321fec1bc (diff)
respect proxy environment variables
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Routing/DE/VRR.pm1
1 files changed, 1 insertions, 0 deletions
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} );