Jack VargaSMTS| [EMAIL PROTECTED]
> > Circadence Corporation| 303.413.8800 x 1082
> > 4888 Perl East Circle | Boulder, Colorado 80301
> >
> >
> > > -Original Message-
> > > From: Frank Belfie [mailto:
ge-
> From: Frank Belfie [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 08, 2001 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: PLease help! Using LWP to check to see if Secure Server is
> running
>
>
>
>
>
>
> use LWP::UserAgent;
> my $ua
use LWP::UserAgent;
my $ua = new LWP::UserAgent;
my $req = new HTTP::Request('GET', 'https://www.someserver.com');
my $res = $ua->request($req);
print $res->code."\n";
The return code is always 501 with secure servers, and 200 with non-secure.
Should this code work?
I know the ssl s