Hello community, here is the log from the commit of package perl-HTTP-Message for openSUSE:Factory checked in at 2018-03-19 23:31:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Message (Old) and /work/SRC/openSUSE:Factory/.perl-HTTP-Message.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTTP-Message" Mon Mar 19 23:31:29 2018 rev:18 rq:586984 version:6.15 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-HTTP-Message/perl-HTTP-Message.changes 2018-01-09 14:34:59.783002084 +0100 +++ /work/SRC/openSUSE:Factory/.perl-HTTP-Message.new/perl-HTTP-Message.changes 2018-03-19 23:31:31.084201915 +0100 @@ -1,0 +2,10 @@ +Wed Mar 14 06:24:08 UTC 2018 - [email protected] + +- updated to 6.15 + see /usr/share/doc/packages/perl-HTTP-Message/Changes + + 6.15 2018-03-13 13:02:56Z + - Whenever possible, use an absolute four digit year for Time::Local (GH#97) + - Add is_cacheable_by_default() (GH#98) (Theo van Hoesel) + +------------------------------------------------------------------- Old: ---- HTTP-Message-6.14.tar.gz New: ---- HTTP-Message-6.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-HTTP-Message.spec ++++++ --- /var/tmp/diff_new_pack.qIjquD/_old 2018-03-19 23:31:31.888172912 +0100 +++ /var/tmp/diff_new_pack.qIjquD/_new 2018-03-19 23:31:31.896172623 +0100 @@ -17,11 +17,11 @@ Name: perl-HTTP-Message -Version: 6.14 +Version: 6.15 Release: 0 %define cpan_name HTTP-Message Summary: HTTP style message (base class) -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/HTTP-Message/ Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz ++++++ HTTP-Message-6.14.tar.gz -> HTTP-Message-6.15.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/CONTRIBUTORS new/HTTP-Message-6.15/CONTRIBUTORS --- old/HTTP-Message-6.14/CONTRIBUTORS 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/CONTRIBUTORS 2018-03-13 14:03:03.000000000 +0100 @@ -58,6 +58,7 @@ * Steve Hay * Tatsuhiko Miyagawa * Tatsuhiko Miyagawa + * Theo van Hoesel * Tobias Leich * Todd Lipcon * tokuhirom diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/Changes new/HTTP-Message-6.15/Changes --- old/HTTP-Message-6.14/Changes 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/Changes 2018-03-13 14:03:03.000000000 +0100 @@ -1,5 +1,9 @@ Revision history for HTTP-Message +6.15 2018-03-13 13:02:56Z + - Whenever possible, use an absolute four digit year for Time::Local (GH#97) + - Add is_cacheable_by_default() (GH#98) (Theo van Hoesel) + 6.14 2017-12-20 22:28:48Z - Add some useful examples in HTTP::Request (GH #92) (Chase Whitener). Batch requests are now explained. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/MANIFEST new/HTTP-Message-6.15/MANIFEST --- old/HTTP-Message-6.14/MANIFEST 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/MANIFEST 2018-03-13 14:03:03.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.011. CONTRIBUTORS Changes INSTALL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/META.json new/HTTP-Message-6.15/META.json --- old/HTTP-Message-6.14/META.json 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/META.json 2018-03-13 14:03:03.000000000 +0100 @@ -4,7 +4,7 @@ "Gisle Aas <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.011, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -92,16 +92,16 @@ "x_IRC" : "irc://irc.perl.org/#lwp", "x_MailingList" : "mailto:[email protected]" }, - "version" : "6.14", + "version" : "6.15", "x_Dist_Zilla" : { "perl" : { - "version" : "5.026000" + "version" : "5.026001" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -112,7 +112,7 @@ } }, "name" : "Prereqs", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -149,12 +149,12 @@ { "class" : "Dist::Zilla::Plugin::MAXMIND::TidyAll", "name" : "@Author::OALDERS/MAXMIND::TidyAll", - "version" : "0.82" + "version" : "0.13" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::OALDERS/AutoPrereqs", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", @@ -169,12 +169,12 @@ } }, "name" : "@Author::OALDERS/MakeMaker", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::CPANFile", "name" : "@Author::OALDERS/CPANFile", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::ContributorsFile", @@ -184,37 +184,37 @@ { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::OALDERS/MetaJSON", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::OALDERS/MetaYAML", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::OALDERS/Manifest", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@Author::OALDERS/MetaNoIndex", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::OALDERS/MetaConfig", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Author::OALDERS/MetaResources", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::OALDERS/License", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::InstallGuide", @@ -224,7 +224,7 @@ { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::OALDERS/ExecDir", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", @@ -239,7 +239,7 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::OALDERS/TestRelease", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", @@ -359,7 +359,7 @@ { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Author::OALDERS/PruneCruft", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", @@ -431,7 +431,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.15.1", + "git_version" : "2.16.2", "repo_root" : "." } }, @@ -442,7 +442,7 @@ "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.15.1", + "git_version" : "2.16.2", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -465,7 +465,7 @@ { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Author::OALDERS/ShareDir", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::TravisCI::StatusBadge", @@ -475,12 +475,12 @@ { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::OALDERS/ConfirmRelease", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::OALDERS/UploadToCPAN", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", @@ -497,12 +497,12 @@ "Dist::Zilla::Plugin::RewriteVersion::Transitional" : {} }, "name" : "@Author::OALDERS/@Git::VersionManager/RewriteVersion::Transitional", - "version" : "0.008" + "version" : "0.009" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Update", "name" : "@Author::OALDERS/@Git::VersionManager/MetaProvides::Update", - "version" : "0.003" + "version" : "0.005" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", @@ -539,7 +539,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.15.1", + "git_version" : "2.16.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -556,12 +556,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v6.14", + "tag" : "v6.15", "tag_format" : "v%v", "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.15.1", + "git_version" : "2.16.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -585,12 +585,12 @@ "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional" : {} }, "name" : "@Author::OALDERS/@Git::VersionManager/BumpVersionAfterRelease::Transitional", - "version" : "0.008" + "version" : "0.009" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::OALDERS/@Git::VersionManager/NextRelease", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -611,7 +611,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.15.1", + "git_version" : "2.16.2", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -631,7 +631,7 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.15.1", + "git_version" : "2.16.2", "repo_root" : "." } }, @@ -641,52 +641,52 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.010" + "version" : "6.011" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.010" + "version" : "6.011" } ], "zilla" : { @@ -694,7 +694,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.010" + "version" : "6.011" } }, "x_contributors" : [ @@ -750,6 +750,7 @@ "Steve Hay <[email protected]>", "Tatsuhiko Miyagawa <[email protected]>", "Tatsuhiko Miyagawa <[email protected]>", + "Theo van Hoesel <[email protected]>", "Tobias Leich <[email protected]>", "Todd Lipcon <[email protected]>", "tokuhirom <[email protected]>", @@ -761,6 +762,6 @@ "Yuri Karaban <[email protected]>", "Zefram <[email protected]>" ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/META.yml new/HTTP-Message-6.15/META.yml --- old/HTTP-Message-6.14/META.yml 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/META.yml 2018-03-13 14:03:03.000000000 +0100 @@ -14,7 +14,7 @@ ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.011, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -55,15 +55,15 @@ bugtracker: https://github.com/libwww-perl/HTTP-Message/issues homepage: https://github.com/libwww-perl/HTTP-Message repository: https://github.com/libwww-perl/HTTP-Message.git -version: '6.14' +version: '6.15' x_Dist_Zilla: perl: - version: '5.026000' + version: '5.026001' plugins: - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::Prereqs config: @@ -71,7 +71,7 @@ phase: runtime type: requires name: Prereqs - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -100,11 +100,11 @@ - class: Dist::Zilla::Plugin::MAXMIND::TidyAll name: '@Author::OALDERS/MAXMIND::TidyAll' - version: '0.82' + version: '0.13' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::OALDERS/AutoPrereqs' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::CheckChangesHasContent name: '@Author::OALDERS/CheckChangesHasContent' @@ -115,11 +115,11 @@ Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Author::OALDERS/MakeMaker' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::CPANFile name: '@Author::OALDERS/CPANFile' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::ContributorsFile name: '@Author::OALDERS/ContributorsFile' @@ -127,31 +127,31 @@ - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::OALDERS/MetaJSON' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::OALDERS/MetaYAML' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::Manifest name: '@Author::OALDERS/Manifest' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::MetaNoIndex name: '@Author::OALDERS/MetaNoIndex' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::OALDERS/MetaConfig' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::MetaResources name: '@Author::OALDERS/MetaResources' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::License name: '@Author::OALDERS/License' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::InstallGuide name: '@Author::OALDERS/InstallGuide' @@ -159,7 +159,7 @@ - class: Dist::Zilla::Plugin::ExecDir name: '@Author::OALDERS/ExecDir' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::Test::CPAN::Changes config: @@ -170,7 +170,7 @@ - class: Dist::Zilla::Plugin::TestRelease name: '@Author::OALDERS/TestRelease' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@Author::OALDERS/Test::ReportPrereqs' @@ -263,7 +263,7 @@ - class: Dist::Zilla::Plugin::PruneCruft name: '@Author::OALDERS/PruneCruft' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::CopyFilesFromBuild name: '@Author::OALDERS/CopyFilesFromBuild' @@ -320,7 +320,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.15.1 + git_version: 2.16.2 repo_root: . name: '@Author::OALDERS/Git::Check' version: '2.043' @@ -328,7 +328,7 @@ class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.15.1 + git_version: 2.16.2 include_authors: 0 include_releaser: 1 order_by: name @@ -345,7 +345,7 @@ - class: Dist::Zilla::Plugin::ShareDir name: '@Author::OALDERS/ShareDir' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::TravisCI::StatusBadge name: '@Author::OALDERS/TravisCI::StatusBadge' @@ -353,11 +353,11 @@ - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::OALDERS/ConfirmRelease' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::OALDERS/UploadToCPAN' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::RewriteVersion::Transitional config: @@ -370,11 +370,11 @@ skip_version_provider: 0 Dist::Zilla::Plugin::RewriteVersion::Transitional: {} name: '@Author::OALDERS/@Git::VersionManager/RewriteVersion::Transitional' - version: '0.008' + version: '0.009' - class: Dist::Zilla::Plugin::MetaProvides::Update name: '@Author::OALDERS/@Git::VersionManager/MetaProvides::Update' - version: '0.003' + version: '0.005' - class: Dist::Zilla::Plugin::CopyFilesFromRelease config: @@ -403,7 +403,7 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.15.1 + git_version: 2.16.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -416,11 +416,11 @@ branch: ~ changelog: Changes signed: 0 - tag: v6.14 + tag: v6.15 tag_format: v%v tag_message: v%v Dist::Zilla::Role::Git::Repo: - git_version: 2.15.1 + git_version: 2.16.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -437,11 +437,11 @@ munge_makefile_pl: 1 Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional: {} name: '@Author::OALDERS/@Git::VersionManager/BumpVersionAfterRelease::Transitional' - version: '0.008' + version: '0.009' - class: Dist::Zilla::Plugin::NextRelease name: '@Author::OALDERS/@Git::VersionManager/NextRelease' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -457,7 +457,7 @@ - (?^:^lib/.*\.pm$) changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.15.1 + git_version: 2.16.2 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local @@ -471,55 +471,55 @@ - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.15.1 + git_version: 2.16.2 repo_root: . name: '@Author::OALDERS/Git::Push' version: '2.043' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.010' + version: '6.011' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.010' + version: '6.011' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.010' + version: '6.011' x_contributors: - 'Adam Kennedy <[email protected]>' - 'Adam Sjogren <[email protected]>' @@ -573,6 +573,7 @@ - 'Steve Hay <[email protected]>' - 'Tatsuhiko Miyagawa <[email protected]>' - 'Tatsuhiko Miyagawa <[email protected]>' + - 'Theo van Hoesel <[email protected]>' - 'Tobias Leich <[email protected]>' - 'Todd Lipcon <[email protected]>' - 'tokuhirom <[email protected]>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/Makefile.PL new/HTTP-Message-6.15/Makefile.PL --- old/HTTP-Message-6.14/Makefile.PL 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/Makefile.PL 2018-03-13 14:03:03.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.011. use strict; use warnings; @@ -48,7 +48,7 @@ "Time::Local" => 0, "Try::Tiny" => 0 }, - "VERSION" => "6.14", + "VERSION" => "6.15", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/README.md new/HTTP-Message-6.15/README.md --- old/HTTP-Message-6.14/README.md 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/README.md 2018-03-13 14:03:03.000000000 +0100 @@ -4,7 +4,7 @@ # VERSION -version 6.14 +version 6.15 # SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Config.pm new/HTTP-Message-6.15/lib/HTTP/Config.pm --- old/HTTP-Message-6.14/lib/HTTP/Config.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Config.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; use URI; @@ -245,7 +245,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Headers/Auth.pm new/HTTP-Message-6.15/lib/HTTP/Headers/Auth.pm --- old/HTTP-Message-6.14/lib/HTTP/Headers/Auth.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Headers/Auth.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; use HTTP::Headers; @@ -111,7 +111,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Headers/ETag.pm new/HTTP-Message-6.15/lib/HTTP/Headers/ETag.pm --- old/HTTP-Message-6.14/lib/HTTP/Headers/ETag.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Headers/ETag.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; require HTTP::Date; @@ -107,7 +107,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Headers/Util.pm new/HTTP-Message-6.15/lib/HTTP/Headers/Util.pm --- old/HTTP-Message-6.14/lib/HTTP/Headers/Util.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Headers/Util.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; use base 'Exporter'; @@ -103,7 +103,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Headers.pm new/HTTP-Message-6.15/lib/HTTP/Headers.pm --- old/HTTP-Message-6.14/lib/HTTP/Headers.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Headers.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; use Carp (); @@ -475,7 +475,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Message.pm new/HTTP-Message-6.15/lib/HTTP/Message.pm --- old/HTTP-Message-6.14/lib/HTTP/Message.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Message.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; require HTTP::Headers; require Carp; @@ -781,7 +781,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Request/Common.pm new/HTTP-Message-6.15/lib/HTTP/Request/Common.pm --- old/HTTP-Message-6.14/lib/HTTP/Request/Common.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Request/Common.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; our $DYNAMIC_FILE_UPLOAD ||= 0; # make it defined (don't know why) @@ -312,7 +312,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Request.pm new/HTTP-Message-6.15/lib/HTTP/Request.pm --- old/HTTP-Message-6.14/lib/HTTP/Request.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Request.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; use base 'HTTP::Message'; @@ -145,7 +145,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Response.pm new/HTTP-Message-6.15/lib/HTTP/Response.pm --- old/HTTP-Message-6.14/lib/HTTP/Response.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Response.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; use base 'HTTP::Message'; @@ -351,7 +351,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/lib/HTTP/Status.pm new/HTTP-Message-6.15/lib/HTTP/Status.pm --- old/HTTP-Message-6.14/lib/HTTP/Status.pm 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/lib/HTTP/Status.pm 2018-03-13 14:03:03.000000000 +0100 @@ -3,13 +3,13 @@ use strict; use warnings; -our $VERSION = '6.14'; +our $VERSION = '6.15'; require 5.002; # because we use prototypes use base 'Exporter'; our @EXPORT = qw(is_info is_success is_redirect is_error status_message); -our @EXPORT_OK = qw(is_client_error is_server_error); +our @EXPORT_OK = qw(is_client_error is_server_error is_cacheable_by_default); # Note also addition of mnemonics to @EXPORT below @@ -105,12 +105,25 @@ sub status_message ($) { $StatusCode{$_[0]}; } -sub is_info ($) { $_[0] && $_[0] >= 100 && $_[0] < 200; } -sub is_success ($) { $_[0] && $_[0] >= 200 && $_[0] < 300; } -sub is_redirect ($) { $_[0] && $_[0] >= 300 && $_[0] < 400; } -sub is_error ($) { $_[0] && $_[0] >= 400 && $_[0] < 600; } -sub is_client_error ($) { $_[0] && $_[0] >= 400 && $_[0] < 500; } -sub is_server_error ($) { $_[0] && $_[0] >= 500 && $_[0] < 600; } +sub is_info ($) { $_[0] && $_[0] >= 100 && $_[0] < 200; } +sub is_success ($) { $_[0] && $_[0] >= 200 && $_[0] < 300; } +sub is_redirect ($) { $_[0] && $_[0] >= 300 && $_[0] < 400; } +sub is_error ($) { $_[0] && $_[0] >= 400 && $_[0] < 600; } +sub is_client_error ($) { $_[0] && $_[0] >= 400 && $_[0] < 500; } +sub is_server_error ($) { $_[0] && $_[0] >= 500 && $_[0] < 600; } +sub is_cacheable_by_default ($) { $_[0] && + ( $_[0] == 200 # OK + || $_[0] == 203 # Non-Authoritative Information + || $_[0] == 204 # No Content + || $_[0] == 206 # Not Acceptable + || $_[0] == 300 # Multiple Choices + || $_[0] == 301 # Moved Permanently + || $_[0] == 404 # Not Found + || $_[0] == 405 # Method Not Allowed + || $_[0] == 410 # Gone + || $_[0] == 414 # Request-URI Too Large + || $_[0] == 501 # Not Implemented + ); } 1; @@ -124,7 +137,7 @@ =head1 VERSION -version 6.14 +version 6.15 =head1 SYNOPSIS @@ -267,6 +280,15 @@ This function is B<not> exported by default. +=item is_cacheable_by_default( $code ) + +Return TRUE if C<$code> indicates that a response is cacheable by default, and +it can be reused by a cache with heuristic expiration. All other status codes +are not cacheable by default. See L<RFC 7231 - HTTP/1.1 Semantics and Content, +Section 6.1. Overview of Status Codes|https://tools.ietf.org/html/rfc7231#section-6.1>. + +This function is B<not> exported by default. + =back =head1 BUGS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/t/message-old.t new/HTTP-Message-6.15/t/message-old.t --- old/HTTP-Message-6.14/t/message-old.t 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/t/message-old.t 2018-03-13 14:03:03.000000000 +0100 @@ -13,7 +13,7 @@ require HTTP::Response; require Time::Local if $^O eq "MacOS"; -my $offset = ($^O eq "MacOS") ? Time::Local::timegm(0,0,0,1,0,70) : 0; +my $offset = ($^O eq "MacOS") ? Time::Local::timegm(0,0,0,1,0,1970) : 0; my $req = HTTP::Request->new(GET => "http://www.sn.no/"); $req->header( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.14/t/status.t new/HTTP-Message-6.15/t/status.t --- old/HTTP-Message-6.14/t/status.t 2017-12-20 23:29:06.000000000 +0100 +++ new/HTTP-Message-6.15/t/status.t 2018-03-13 14:03:03.000000000 +0100 @@ -2,7 +2,7 @@ use warnings; use Test::More; -plan tests => 20; +plan tests => 36; use HTTP::Status qw(:constants :is status_message); @@ -30,3 +30,11 @@ ok(!is_info(99)); ok(!is_success(99)); ok(!is_redirect(99)); + +ok(is_cacheable_by_default($_), + "Cacheable by default [$_] " . status_message($_) +) for (200,203,204,206,300,301,404,405,410,414,501); + +ok(!is_cacheable_by_default($_), + "... is not cacheable [$_] " . status_message($_) +) for (100,201,302,400,500);
