On 22 Mar, "José J. Cintrón" wrote:

> The script works fine as long as I'm not behind a proxy.  As soon as I 
> get the script behind the proxy where it will reside it ends with a 500 
> Exit code.  Anyone can provide me any info on how to get the script 
> working behind a proxy?

You may consider using LWP::UserAgent instead:

[snip]
The following methods set up when requests should be passed via a proxy server.

$ua->proxy([EMAIL PROTECTED], $proxy_url)
$ua->proxy($scheme, $proxy_url)

Set/retrieve proxy URL for a scheme:

$ua->no_proxy( $domain, ... )

Do not proxy requests to the given domains. Calling no_proxy without any 
domains clears the list of domains.

$ua->env_proxy

Load proxy settings from *_proxy environment variables.
[/snip]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to