in reply to Best practice for letting my CGI scripts access another password protected CGI script?
instead ofmy $headers = HTTP::Headers->new(); $headers->authorization_basic('user', 'pass'); my $request = new HTTP::Request(GET => $url, $headers);
$ua->credentials('www.domain.com:80', '', 'user', 'pass');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Best practice for letting my CGI scripts access another password protected CGI script?
by Anonymous Monk on Oct 30, 2013 at 01:02 UTC |