ssl checks return red for 404
Brought to you by:
apremselaar,
sljohnson
The logic for checking 400 level errors is there, but LWP returns "error" for 404 ...
In check_https the problem is here...
if ($result->is_success) {
my $code = $result->code;
I'd suggest changing that to
if (defined($result->code)) {
my $code = $result->code;
that'll let the 400 level checking code actually see the error. maybe that should be check for defined($result) and defined($result->code)?
-Tom (tbrown on a mail server called baremetal.com)