diff -Nru libhttp-entity-parser-perl-0.24/Changes libhttp-entity-parser-perl-0.25/Changes --- libhttp-entity-parser-perl-0.24/Changes 2020-08-05 05:36:51.000000000 +0000 +++ libhttp-entity-parser-perl-0.25/Changes 2020-11-28 02:35:29.000000000 +0000 @@ -1,5 +1,9 @@ Revision history for Perl extension HTTP-Entity-Parser +0.25 2020-11-28T02:35:28Z + + - handle empty Content-Type as if octet-stream blob #14 + 0.24 2020-08-05T05:36:49Z - encode recursively nested Arrayrefs and Hashrefs in JSON #13 diff -Nru libhttp-entity-parser-perl-0.24/debian/changelog libhttp-entity-parser-perl-0.25/debian/changelog --- libhttp-entity-parser-perl-0.24/debian/changelog 2020-08-07 02:14:24.000000000 +0000 +++ libhttp-entity-parser-perl-0.25/debian/changelog 2020-12-02 18:28:29.000000000 +0000 @@ -1,3 +1,10 @@ +libhttp-entity-parser-perl (0.25-1) unstable; urgency=medium + + * Import upstream version 0.25. + * Declare compliance with Debian Policy 4.5.1. + + -- gregor herrmann Wed, 02 Dec 2020 19:28:29 +0100 + libhttp-entity-parser-perl (0.24-1) unstable; urgency=medium * Import upstream version 0.24. diff -Nru libhttp-entity-parser-perl-0.24/debian/control libhttp-entity-parser-perl-0.25/debian/control --- libhttp-entity-parser-perl-0.24/debian/control 2020-08-07 02:14:24.000000000 +0000 +++ libhttp-entity-parser-perl-0.25/debian/control 2020-12-02 18:28:29.000000000 +0000 @@ -13,7 +13,7 @@ libjson-maybexs-perl (>= 1.003007) , libstream-buffered-perl , libwww-form-urlencoded-perl -Standards-Version: 4.5.0 +Standards-Version: 4.5.1 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhttp-entity-parser-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhttp-entity-parser-perl.git Homepage: https://metacpan.org/release/HTTP-Entity-Parser diff -Nru libhttp-entity-parser-perl-0.24/lib/HTTP/Entity/Parser.pm libhttp-entity-parser-perl-0.25/lib/HTTP/Entity/Parser.pm --- libhttp-entity-parser-perl-0.24/lib/HTTP/Entity/Parser.pm 2020-08-05 05:36:51.000000000 +0000 +++ libhttp-entity-parser-perl-0.25/lib/HTTP/Entity/Parser.pm 2020-11-28 02:35:29.000000000 +0000 @@ -6,7 +6,7 @@ use Stream::Buffered; use Module::Load; -our $VERSION = "0.24"; +our $VERSION = "0.25"; our $BUFFER_LENGTH = 65536; @@ -44,11 +44,7 @@ my ($self, $env) = @_; my $buffer_length = $self->[1]; - my $ct = $env->{CONTENT_TYPE}; - if (!$ct) { - # No Content-Type - return ([], []); - } + my $ct = $env->{CONTENT_TYPE} || ''; my $parser; for my $handler (@{$self->[0]}) { diff -Nru libhttp-entity-parser-perl-0.24/META.json libhttp-entity-parser-perl-0.25/META.json --- libhttp-entity-parser-perl-0.24/META.json 2020-08-05 05:36:51.000000000 +0000 +++ libhttp-entity-parser-perl-0.25/META.json 2020-11-28 02:35:29.000000000 +0000 @@ -68,7 +68,7 @@ "provides" : { "HTTP::Entity::Parser" : { "file" : "lib/HTTP/Entity/Parser.pm", - "version" : "0.24" + "version" : "0.25" }, "HTTP::Entity::Parser::JSON" : { "file" : "lib/HTTP/Entity/Parser/JSON.pm" @@ -94,11 +94,12 @@ "web" : "https://github.com/kazeburo/HTTP-Entity-Parser" } }, - "version" : "0.24", + "version" : "0.25", "x_contributors" : [ "José Joaquín Atria ", "Karen Etheridge ", "Shoichi Kaji ", + "Tatsuhiko Miyagawa ", "Todd Rinaldo ", "commojun ", "jrubinator ", diff -Nru libhttp-entity-parser-perl-0.24/META.yml libhttp-entity-parser-perl-0.25/META.yml --- libhttp-entity-parser-perl-0.24/META.yml 2020-08-05 05:36:51.000000000 +0000 +++ libhttp-entity-parser-perl-0.25/META.yml 2020-11-28 02:35:30.000000000 +0000 @@ -29,7 +29,7 @@ provides: HTTP::Entity::Parser: file: lib/HTTP/Entity/Parser.pm - version: '0.24' + version: '0.25' HTTP::Entity::Parser::JSON: file: lib/HTTP/Entity/Parser/JSON.pm HTTP::Entity::Parser::MultiPart: @@ -52,11 +52,12 @@ bugtracker: https://github.com/kazeburo/HTTP-Entity-Parser/issues homepage: https://github.com/kazeburo/HTTP-Entity-Parser repository: git://github.com/kazeburo/HTTP-Entity-Parser.git -version: '0.24' +version: '0.25' x_contributors: - 'José Joaquín Atria ' - 'Karen Etheridge ' - 'Shoichi Kaji ' + - 'Tatsuhiko Miyagawa ' - 'Todd Rinaldo ' - 'commojun ' - 'jrubinator '