HTTP/1.1 500 Server Error Connection: close Date: Wed, 16 May 2007 15:23:37 GMT Server: NetCache appliance (NetApp/5.6.1D25DEBUG3) Content-Length: 284 Content-Type: text/html Client-Date: Wed, 16 May 2007 15:23:38 GMT Client-Peer: 171.182.207.166:8080 Client-Response-Num: 1 Title: 500 Server Error
[code=PARENT_NEEDED] Unable to service this URL without parent cache.Contact your system administrator.
##
use strict;
use LWP;
my $ua = LWP::UserAgent->new();
$ua->proxy(['http', 'https'], 'http://proxy:8080');
my $req = HTTP::Request->new(GET => 'http://www.sslsite.com');
my $res = $ua->request($req);
my $content = $res->as_string;
##
##
$ENV{HTTPS_PROXY} = 'http://proxy';
$ENV{HTTPS_PROXY_USERNAME} = 'user';
$ENV{HTTPS_PROXY_PASSWORD} = 'pass';