Am 28.02.2019 um 17:24 schrieb Dominique Dumont: > 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 > Maybe it helps: on the other side other watch files for the same download site are working:
* roaraudio * muroar * muroard * roarplaylistd -- /* Mit freundlichem Gruß / With kind regards, Patrick Matthäi GNU/Linux Debian Developer Blog: http://www.linux-dev.org/ E-Mail: pmatth...@debian.org patr...@linux-dev.org */