in reply to How can I connect to an HTTPS server using the Perl JIRA::Client::Automated module through Proxy?

Just change the following line

$ua->proxy('http', 'http://proxy.com:8000');

for this one

$ua->env_proxy('http_proxy');

Be aware that you might have to replace 'http_proxy' for whatever name you gave to it in you /etc/environment file.

  • Comment on Re: How can I connect to an HTTPS server using the Perl JIRA::Client::Automated module through Proxy?
  • Select or Download Code