Skip to content

Commit f483c2c

Browse files
michal-josef-spaceksimbabque
authored andcommitted
Remove dependency to IO::Uncompress::Gunzip
Was replaced by Compress::Raw::Zlib
1 parent 80c7f48 commit f483c2c

6 files changed

Lines changed: 3 additions & 6 deletions

File tree

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Revision history for HTTP-Message
22

33
{{$NEXT}}
4+
- Remove dependency to IO::Uncompress::Gunzip. (Michal Josef Spacek)
45

56
6.42 2022-10-18 13:53:22Z
67
- We now don't consider the Content-Location header when asked

META.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"IO::Compress::Gzip" : "0",
6565
"IO::HTML" : "0",
6666
"IO::Uncompress::Bunzip2" : "2.021",
67-
"IO::Uncompress::Gunzip" : "0",
6867
"IO::Uncompress::Inflate" : "0",
6968
"IO::Uncompress::RawInflate" : "0",
7069
"LWP::MediaTypes" : "6",

Makefile.PL

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ my %WriteMakefileArgs = (
3030
"IO::Compress::Gzip" => 0,
3131
"IO::HTML" => 0,
3232
"IO::Uncompress::Bunzip2" => "2.021",
33-
"IO::Uncompress::Gunzip" => 0,
3433
"IO::Uncompress::Inflate" => 0,
3534
"IO::Uncompress::RawInflate" => 0,
3635
"LWP::MediaTypes" => 6,
@@ -77,7 +76,6 @@ my %FallbackPrereqs = (
7776
"IO::Compress::Gzip" => 0,
7877
"IO::HTML" => 0,
7978
"IO::Uncompress::Bunzip2" => "2.021",
80-
"IO::Uncompress::Gunzip" => 0,
8179
"IO::Uncompress::Inflate" => 0,
8280
"IO::Uncompress::RawInflate" => 0,
8381
"LWP::MediaTypes" => 6,

cpanfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ requires "IO::Compress::Deflate" => "0";
1414
requires "IO::Compress::Gzip" => "0";
1515
requires "IO::HTML" => "0";
1616
requires "IO::Uncompress::Bunzip2" => "2.021";
17-
requires "IO::Uncompress::Gunzip" => "0";
1817
requires "IO::Uncompress::Inflate" => "0";
1918
requires "IO::Uncompress::RawInflate" => "0";
2019
requires "LWP::MediaTypes" => "6";

lib/HTTP/Message.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ sub decodable
493493
# XXX preferably we should determine if the modules are available without loading
494494
# them here
495495
eval {
496-
require IO::Uncompress::Gunzip;
496+
require Compress::Raw::Zlib;
497497
push(@enc, "gzip", "x-gzip");
498498
};
499499
eval {

t/request.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $req->accept_decodable;
1616
is( $req->method, "GET" );
1717
is( $req->uri, "http://www.example.com" );
1818
like( $req->header("Accept-Encoding"), qr/\bgzip\b/ )
19-
; # assuming IO::Uncompress::Gunzip is there
19+
; # assuming Compress::Raw::Zlib is there
2020

2121
$req->dump( prefix => "# " );
2222

0 commit comments

Comments
 (0)