Hi all,

I saw a number of postings to comp.lang.perl.modules about
the problem of https over proxy server.  However, there are
no answer to these postings.

The question I have is that is https supported over proxy server?
If not, is there a plan to support it in the future?

Thanks for the help.

Clement



Hi all,

I have problem with https get/post through Netscape proxy server.  The
get/post
program uses perl5 with the following modules:

Crypt-SSLeay-0.14
HTML-Parser-2.25
URI-1.04
openssl-0.9.4
MIME-Base64-2.11
libnet-1.0607
perl5.005_03
Digest-MD5-2.09
MIME-Lite-1.135
libwww-perl-5.47

Here is the perl code which does the GET:

  use LWP::UserAgent;

  my $ua = LWP::UserAgent->new;
  $ua->proxy(['http', 'ftp'] => "http://firewall:8080");
  my $req = HTTP::Request->new(GET =>
'https://www.testsite.com/retail.html);
  my $res = $ua->request($req);
  if ($res->is_success) {
      print $res->as_string;
  } else {
      print "Failed: ", $res->as_string, "\n";
  }

Here is the results from the Get:

Failed: 500 (Internal Server Error) Can't connect to
www.testsite.com:443 (Interrupted system call)
Client-Date: Tue, 14 Mar 2000 13:35:41 GMT

However, if I change the url to http instead of https, the program works
fine.  Is there any
one who successfully try https get/post requests through proxy?

Thanks,

Clement






Reply via email to