Most of this code is imported from the older standalone script run_web_txn.pl
-which is now just a shell that calls the function below. It is now only
+which is now just a shell that calls the function below. It is now only
needed on older Msys installations (i.e. things running perl < 5.8).
-=cut
+=cut
use strict;
use URI::Escape;
$ua->agent("Exim Build Farm Reporter");
if (my $proxy = $ENV{BF_PROXY})
{
- $ua->proxy('http',$proxy);
+ # untested. Please notify hs@schlittermann.de, if you
+ # encounter any problem here:
+ $ua->proxy(URI->new($target)->scheme, $proxy);
}
my $request=HTTP::Request->new(POST => "$target/$sig");