Bug#923459: devscripts: uscan in buster could not check version and throws warnings
Dominique Dumont
dod at debian.org
Thu Feb 28 16:24:10 GMT 2019
On Thursday, 28 February 2019 15:49:53 CET Xavier wrote:
> This looks like a bug in HTTP::Response: $response contains valid HTML
> data in $response->{_content} but $response->decoded_content returns
> "undef".
Well, software.keep-cool.org http server sends back weird headers:
$ mojo get -M HEAD -v http://software.keep-cool.org/dl/ckport/
HEAD http://software.keep-cool.org/dl/ckport/ HTTP/1.1
Host: software.keep-cool.org
Accept-Encoding: gzip
User-Agent: Mojolicious (Perl)
Content-Length: 0
HTTP/1.1 200 Ok
Content-Length: 1731
Date: Thu, 28 Feb 2019 16:20:28 GMT
Last-Modified: Sat, 11 Aug 2012 15:38:03 GMT
Server: mini_httpd/1.19 19dec2003
Content-Type: text/html; charset=%s
It's possible that "charset=%s" trips up HTTP::Response.
On the other hand, the command "GET http://software.keep-cool.org/dl/ckport/"
(which uses HTTP::Response) works fine:
$ GET http://software.keep-cool.org/dl/ckport/
<HTML>
<HEAD><TITLE>Index of software.keep-cool.org/dl/ckport/</TITLE></HEAD>
[snip]
HTH
More information about the pkg-perl-maintainers
mailing list