Le samedi 30 mai 2015 10:35:42, vous avez écrit :
> It works much better now. Perhaps worth noting that the original code
> doesn't work:
> 
> $ENV{HTTPS_PROXY} = "http://proxy.pri:3128";;

On my system, I use https_proxy, i.e. in lower case. This is consistent with 
other utilities like wget or curl.

I don't remember if HTTPS_PROXY works.

In any case, $ua->env_proxy must be called to enable using environment 
variables.

> This is required instead, which I believe is now consistant with the HTTP
> (non-SSL) proxy configuration:
> 
> $ua->proxy(['https'], 'http://proxy.pri:3128');

That's an alternative.
 
> Heaps better then before.

Cool :-)

If you satisfied with this way of using proxies, could you close this bug ? (or 
just mention that we can close this bug)

> Forgot to mention this was with Jessie. liblwp-protocol-https-perl version
> 6.06-2

No problem. Sid and testing are not updated yet for these 2 packages. Thanks 
for the heads-up anyway.

All the best

-- 
https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/
    http://ddumont.wordpress.com/        -o-   irc: dod at irc.debian.org


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to