in reply to WWW::Mechanize with https and a proxy

IIRC, you're not supposed to set the proxy through the Mech user agent object, too, when you're using Crypt::SSLeay and the environment variable HTTPS_PROXY — Crypt::SSLeay should handle it transparently all by itself...  So, try to remove 'https' from

$mech->proxy(['https', 'http', 'ftp'], 'my_proxy:8080');

( or maybe even explicitly put $mech->proxy('https', undef); )

Replies are listed 'Best First'.
Re^2: WWW::Mechanize with https and a proxy
by Gangabass (Vicar) on Oct 10, 2007 at 03:41 UTC

    IMHO, WWW::Mechanize is child of LWP::UserAgent so it's OK to use it proxy() method (just as agent).