Skip to content

Commit f0c8f81

Browse files
committed
Apparently some servers send Content-Encoding: none [RT#94882]
1 parent 154535c commit f0c8f81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/HTTP/Message.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ sub decoded_content
292292
$h =~ s/\s+$//;
293293
for my $ce (reverse split(/\s*,\s*/, lc($h))) {
294294
next unless $ce;
295-
next if $ce eq "identity";
295+
next if $ce eq "identity" || $ce eq "none";
296296
if ($ce eq "gzip" || $ce eq "x-gzip") {
297297
require IO::Uncompress::Gunzip;
298298
my $output;

0 commit comments

Comments
 (0)