Bug#923459: devscripts: uscan in buster could not check version and throws warnings
Xavier
yadd at debian.org
Thu Feb 28 15:20:15 GMT 2019
control: affects -1 devscripts
Le 28/02/2019 à 16:00, Xavier a écrit :
> Control: reassign -1 libhttp-message-perl
>
> This little script shows that error comes from HTTP::Response:
>
> use LWP::UserAgent;
> my $ua = LWP::UserAgent->new;
> my $q = 'http://software.keep-cool.org/dl/ckport/';
> $response = $ua->get($q);
> if ($response->is_success) {
> die "Unable to decode" unless (defined $response->decoded_content);
> print $response->decoded_content;
> }
> else {
> print STDERR $response->status_line, "\n";
> }
There is a missing "raise_error => 1" in uscan also. So double bug I think:
* HTTP::Message should succeed to decode this simple page
* uscan (or some intermediate module) should add "raise_error => 1", if
so, HTTP::Response manpage should indicate this
Am I right?
More information about the pkg-perl-maintainers
mailing list