+ Fix #147: proyxurl option not working

This commit is contained in:
garnier-quentin 2015-09-10 10:44:04 +02:00
parent 777bb2ff3f
commit 3cc76cb000
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ sub set_proxy {
}
}
if (defined($options{request}->{proxyurl}) && $options{request}->{proxyurl} ne '') {
$self->{ua}->proxy(['http', 'https'], $options{request_options}->{proxyurl});
$self->{ua}->proxy(['http', 'https'], $options{request}->{proxyurl});
}
}