|
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 |
- RE: HTTPS proxy setup John Mannix
- RE: HTTPS proxy setup WORENKLEIN, David, GCM
- Re: HTTPS proxy setup John Mannix
- Re: HTTPS proxy setup Chris Dunn
