Bug#611953: HTTP::Message clearly broken

jidanni at jidanni.org jidanni at jidanni.org
Fri Feb 4 02:37:54 UTC 2011

Package: libwww-perl
Version: 5.837-1

As we follow the example on the man page to the letter but nothing is
printed, HTTP::Message is clearly broken.

use strict;
use warnings FATAL => 'all';
use base 'HTTP::Message';
use HTTP::Headers; #guessing
use HTTP::Request; #guessing
my $s='GET /zzz HTTP/1.1
Host: f10.wretch.yimg.com
Accept: image/png,image/*;q=0.8,*/*;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: UTF-8,*
Keep-Alive: 115
Connection: keep-alive
Referer: http://www.wretch.cc/album/show.php?i=e0456789j&b=23&f=1100870991&p=8

my $mess = HTTP::Message->parse($s);
print $mess->headers_as_string;

Either that or please revise /usr/share/man/man3/HTTP::Message.3pm.gz . Thank you.

More information about the pkg-perl-maintainers mailing list