Bug#553345: libwww-perl: Should accept x-bzip2 content-coding when declared as bzip2
Maik Zumstrull
maik at zumstrull.net
Fri Oct 30 13:01:19 UTC 2009
Package: libwww-perl
Severity: minor
In HTTP::Message, libwww-perl checks for the gzip content-coding with
if ($ce eq "gzip" || $ce eq "x-gzip")
but for the bzip2 content-coding with:
elsif ($ce eq "x-bzip2")
I think HTTP::Message should handle bzip2 when it's declared as such
and not as x-bzip2. The name is not registered with IANA, but there
are servers out there that use it anyway.
To minimize any RFC violations, LWP should only quietly understand the
unregistered name when used by a peer and not advertise it itself in
any headers.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (600, 'testing'), (400, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libwww-perl depends on:
ii libhtml-parser-perl 3.62-1 collection of modules that parse H
ii libhtml-tagset-perl 3.20-2 Data tables pertaining to HTML
ii libhtml-tree-perl 3.23-1 represent and create HTML syntax t
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii netbase 4.37 Basic TCP/IP networking system
ii perl 5.10.1-5 Larry Wall's Practical Extraction
Versions of packages libwww-perl recommends:
ii libcompress-bzip2-perl 2.09-2 Perl interface to Bzip2 compressio
ii libcompress-zlib-perl 2.021-1 Transitional dummy package for Com
ii libhtml-format-perl 2.04-2 format HTML syntax trees into text
ii libio-compress-perl [libcompr 2.021-1 IO::Compress modules
ii libmailtools-perl 2.04-1 Manipulate email in perl programs
ii perl [libio-compress-perl] 5.10.1-5 Larry Wall's Practical Extraction
Versions of packages libwww-perl suggests:
ii libio-socket-ssl-perl 1.31-1 Perl module implementing object or
-- no debconf information
More information about the pkg-perl-maintainers
mailing list