Skip Menu |

This queue is for tickets about the libwww-perl CPAN distribution.

Report information
The Basics
Id: 45089
Status: resolved
Priority: 0/
Queue: libwww-perl

People
Owner: Nobody in particular
Requestors: porton@narod.ru (no email address)
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 5.814
Fixed in: (no value)



Subject: Should report when site is inaccessible
It should differentiate between the case of internal server error (500) and the cases when cannot connect to the server: perl -MLWP::UserAgent -e 'my $ua = LWP::UserAgent->new; my $req = HTTP::Request->new(GET => "http://sdhfjsdhk.com"); my $res = $ua->request($req); print $res->code, "\n"' 500 Moreover it should provide yet another status code when the network is inaccessible. When I shut down my network card I receive the same "500" status. This is wrong.