HTTP::ProxyPACUse a PAC (Proxy Auto Config) file to get proxy info | |
Download |
HTTP::ProxyPAC Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Craig MacKenna
- Publisher web site:
- http://search.cpan.org/~mackenna/
HTTP::ProxyPAC Tags
HTTP::ProxyPAC Description
Use a PAC (Proxy Auto Config) file to get proxy info HTTP::ProxyPAC is a Perl module that allows the use of a Proxy Auto Configuration file to determine whether a URL needs to be accessed via a proxy server, and if so the URL of the proxy server. You can use a .pac file from a web browser, or a wpad.dat file obtained via the WPAD protocol: http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol.SYNOPSIS use HTTP::ProxyPAC; my $pac = HTTP::ProxyPAC->new(pacAccessor); my $res = $pac->find_proxy($url); if ($res->proxy) { $ua->proxy('http' => $res->proxy); } Requirements: · Perl
HTTP::ProxyPAC Related Software