**********************************************************************
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
************************************************************************
|
This
sometimes works.
I'm trying to get lib-www-perl to post some
form data to a secure server via a proxy server. I've tried several variations
along the lines of:
$ua = new LWP::UserAgent;
$ua->proxy(https =>
'https://xxx.xxx.x.x:port');
$req = new HTTP::Request(POST =>
'https://something.com');
$res = $ua->request($req);
print $res->as_string;
If I don't set up the proxy I get an error
message saying the site cannot be found, which is to be expected. When I set
up the proxy the script hangs.
The proxy handles https ok when used from a
browser. I've tried pointing the proxy at http:// and https:// but neither
seems to work.
Any idea what is going wrong?
Thanks,
John
-- Governor Technology
--------------------------------- Web and Internet Software
Development John Mannix MA (Cantab) Telephone: +44 20 8857
9846 Facsimile: +44 20 8857 8839 Email: [EMAIL PROTECTED] Web: www.governor.co.uk
|
patch