Permalink
Browse files

Recognize Content-Encoding: bzip2 [RT#71074]

  • Loading branch information...
1 parent 92285e2 commit 84c1919a9ded22623c023de82127f2b671d9c6f7 @gisle gisle committed Feb 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/HTTP/Message.pm
View
2 lib/HTTP/Message.pm
@@ -307,7 +307,7 @@ sub decoded_content
$content_ref = \$output;
$content_ref_iscopy++;
}
- elsif ($ce eq "x-bzip2") {
+ elsif ($ce eq "x-bzip2" or $ce eq "bzip2") {
require IO::Uncompress::Bunzip2;
my $output;
IO::Uncompress::Bunzip2::bunzip2($content_ref, \$output, Transparent => 0)

0 comments on commit 84c1919

Please sign in to comment.