|
Posted by shallyee on October 1, 2008, 3:11 am
Please log in for more thread options
On 9$B7n(B13$BF|(B, $B8aA0(B7:33, "C.DeRykus"
show/hide quoted text
> On Sep 9, 3:53 am, shall...@gmail.com wrote:
> I'm not positive this is correct
> but it appears the scheme in
> the actual proxy specification is implicit with ENV but not with
> the 'ua' method call. So,
> $ua->proxy('https', 'myproxy.mydomain:8080');
> according to the UserAgent doc examples, should instead read, eg.,
> $ua->proxy('https',
> 'https://.....');
> --
> Charles DeRykus- $B0zMQ%F%-%9%H$rI=<($7$J$$(B -
> - $B0zMQ%F%-%9%H$rI=<((B -
Thanks for your great hint. Your advise works for HTTP,
show/hide quoted text
$ua->proxy('http', 'http://myproxy.mydomain:8080/');
...This is good for HTTP URLs, but for HTTPS URLs, both of following
failed.
show/hide quoted text
$ua->proxy('https', 'https://myproxy.mydomain:8080/');
...this gives "500 SSL negotiation failed" after a long hang up.
show/hide quoted text
$ua->proxy('https', 'http://myproxy.mydomain:8080/');
...this gives "400 Bad Request".
Any ideas?
|
$ua->timeout(10);