in reply to WWW::Mechanize (and LWP) should use CONNECT for HTTPS request when a proxy is used?

I was having trouble with LWP & proxies until I found that it was better to set proxy support using the environmental variable method. The Crypt::SSLeay docs says:

The CONNECT method is used by Crypt::SSLeay's internal proxy support.
Definately read that whole document.

So what you want is something like this:

$ENV{HTTP_PROXY} = 'http://192.168.250.11:8118/'; $ENV{HTTPS_PROXY} = 'http://192.168.250.11:8118/';

non-Perl: Andy Ford

  • Comment on Re: WWW::Mechanize (and LWP) should use CONNECT for HTTPS request when a proxy is used?
  • Download Code

Replies are listed 'Best First'.
Re^2: WWW::Mechanize (and LWP) should use CONNECT for HTTPS request when a proxy is used?
by monarch (Priest) on Dec 12, 2006 at 16:05 UTC