Hello community, here is the log from the commit of package perl-HTTP-Message for openSUSE:Factory checked in at 2018-06-15 14:34:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-HTTP-Message (Old) and /work/SRC/openSUSE:Factory/.perl-HTTP-Message.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTTP-Message" Fri Jun 15 14:34:27 2018 rev:20 rq:615382 version:6.18 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-HTTP-Message/perl-HTTP-Message.changes 2018-04-02 22:47:21.429924423 +0200 +++ /work/SRC/openSUSE:Factory/.perl-HTTP-Message.new/perl-HTTP-Message.changes 2018-06-15 14:34:28.478241069 +0200 @@ -1,0 +2,6 @@ +Wed Jun 6 05:30:44 UTC 2018 - co...@suse.com + +- updated to 6.18 + see /usr/share/doc/packages/perl-HTTP-Message/Changes + +------------------------------------------------------------------- Old: ---- HTTP-Message-6.16.tar.gz New: ---- HTTP-Message-6.18.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-HTTP-Message.spec ++++++ --- /var/tmp/diff_new_pack.LkV6eK/_old 2018-06-15 14:34:29.058219855 +0200 +++ /var/tmp/diff_new_pack.LkV6eK/_new 2018-06-15 14:34:29.062219708 +0200 @@ -17,7 +17,7 @@ Name: perl-HTTP-Message -Version: 6.16 +Version: 6.18 Release: 0 %define cpan_name HTTP-Message Summary: HTTP style message (base class) @@ -389,7 +389,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTORS README.md +%doc Changes CONTRIBUTING.md CONTRIBUTORS README.md %license LICENSE %changelog ++++++ HTTP-Message-6.16.tar.gz -> HTTP-Message-6.18.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/CONTRIBUTING.md new/HTTP-Message-6.18/CONTRIBUTING.md --- old/HTTP-Message-6.16/CONTRIBUTING.md 1970-01-01 01:00:00.000000000 +0100 +++ new/HTTP-Message-6.18/CONTRIBUTING.md 2018-06-05 18:29:24.000000000 +0200 @@ -0,0 +1,117 @@ +# HOW TO CONTRIBUTE + +Thank you for considering contributing to this distribution. This file +contains instructions that will help you work with the source code. + +The distribution is managed with [Dist::Zilla](https://metacpan.org/pod/Dist::Zilla). +This means that many of the usual files you might expect are not in the +repository, but are generated at release time. Some generated files are kept +in the repository as a convenience (e.g. Build.PL/Makefile.PL and META.json). + +Generally, **you do not need Dist::Zilla to contribute patches**. You may need +Dist::Zilla to create a tarball. See below for guidance. + +## Getting dependencies + +If you have App::cpanminus 1.6 or later installed, you can use +[cpanm](https://metacpan.org/pod/cpanm) to satisfy dependencies like this: + + $ cpanm --installdeps --with-develop . + +You can also run this command (or any other cpanm command) without installing +App::cpanminus first, using the fatpacked `cpanm` script via curl or wget: + + $ curl -L https://cpanmin.us | perl - --installdeps --with-develop . + $ wget -qO - https://cpanmin.us | perl - --installdeps --with-develop . + +Otherwise, look for either a `cpanfile` or `META.json` file for a list of +dependencies to satisfy. + +## Running tests + +You can run tests directly using the `prove` tool: + + $ prove -l + $ prove -lv t/some_test_file.t + + +## Code style and tidying + +This distribution contains a `.perltidyrc` file in the root of the repository. +Please install Perl::Tidy and use `perltidy` before submitting patches. However, +as this is an old distribution and styling has changed somewhat over the years, +please keep your tidying constrained to the portion of code or function in which +you're patching. + + $ perltidy lib/HTTP/Status.pm -o my_tidy_copy.pm + +The above command, for example, would provide you with a copy of `Status.pm` +that has been cleaned according to our `.perltidyrc` settings. You'd then look +at the newly created `my_tidy_copy.pm` in the dist root and replace your work +with the cleaned up copy if there are differences. + +This may seem like an arbitrary thing, but it is immensely helpful if all code +is written in a singular style. If everything were tidy, it'd look like one +single person wrote the code rather than a mish-mash. + +## Installing and using Dist::Zilla + +[Dist::Zilla](https://metacpan.org/pod/Dist::Zilla) is a very powerful +authoring tool, optimized for maintaining a large number of distributions with +a high degree of automation, but it has a large dependency chain, a bit of a +learning curve and requires a number of author-specific plugins. + +To install it from CPAN, I recommend one of the following approaches for the +quickest installation: + + # using CPAN.pm, but bypassing non-functional pod tests + $ cpan TAP::Harness::Restricted + $ PERL_MM_USE_DEFAULT=1 HARNESS_CLASS=TAP::Harness::Restricted cpan Dist::Zilla + + # using cpanm, bypassing *all* tests + $ cpanm -n Dist::Zilla + +In either case, it's probably going to take about 10 minutes. Go for a walk, +go get a cup of your favorite beverage, take a bathroom break, or whatever. +When you get back, Dist::Zilla should be ready for you. + +Then you need to install any plugins specific to this distribution: + + $ dzil authordeps --missing | cpanm + +You can use Dist::Zilla to install the distribution's dependencies if you +haven't already installed them with cpanm: + + $ dzil listdeps --missing --develop | cpanm + +Once everything is installed, here are some dzil commands you might try: + + $ dzil build + $ dzil test + $ dzil regenerate + +You can learn more about Dist::Zilla at http://dzil.org/ + +## Other notes + +This distribution maintains the generated `META.json` and either `Makefile.PL` +or `Build.PL` in the repository. This allows two things: +[Travis CI](https://travis-ci.org/) can build and test the distribution without +requiring Dist::Zilla, and the distribution can be installed directly from +Github or a local git repository using `cpanm` for testing (again, not +requiring Dist::Zilla). + + $ cpanm git://github.com/Author/Distribution-Name.git + $ cd Distribution-Name; cpanm . + +Contributions are preferred in the form of a Github pull request. See +[Using pull requests](https://help.github.com/articles/using-pull-requests/) +for further information. You can use the Github issue tracker to report issues +without an accompanying patch. + +# CREDITS + +This file was adapted from an initial `CONTRIBUTING.mkdn` file from David +Golden under the terms of the [CC0](https://creativecommons.org/share-your-work/public-domain/cc0/), with inspiration from the +contributing documents from [Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING](https://metacpan.org/pod/Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING) +and [Dist::Zilla::PluginBundle::Author::ETHER](https://metacpan.org/pod/Dist::Zilla::PluginBundle::Author::ETHER). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/CONTRIBUTORS new/HTTP-Message-6.18/CONTRIBUTORS --- old/HTTP-Message-6.16/CONTRIBUTORS 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/CONTRIBUTORS 2018-06-05 18:29:24.000000000 +0200 @@ -28,12 +28,14 @@ * Gavin Peters * Gisle Aas * Graeme Thompson + * Graham Knop * Hans-H. Froehlich * Ian Kilgore * Jacob J * jefflee * Jerome Eteve * john9art + * jonasbn * Karen Etheridge * Mark Overmeer * Mark Stosberg @@ -47,6 +49,8 @@ * openstrike * Peter Rabbitson * phrstbrn + * Robert Rothenberg + * Robert Rothenberg * Robert Stone * Rolf Grossmann * ruff diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/Changes new/HTTP-Message-6.18/Changes --- old/HTTP-Message-6.16/Changes 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/Changes 2018-06-05 18:29:24.000000000 +0200 @@ -1,5 +1,14 @@ Revision history for HTTP-Message +6.18 2018-06-05 16:29:15Z + - Revert status_message to original code (GH#111) (Theo van Hoesel) + +6.17 2018-06-05 01:55:34Z + - Documented status code 451 in the list of constants (GH #104) (Robert Rothenberg) + - Status code 451 is cachable by default, as per RFC 7725 (GH #104) (Robert Rothenberg) + - Add default status_message for unknown status codes (GH#105) (Robert Rothenberg) + - Corrections to the documentation (GH#102) (Jonas B. Nielsen) + 6.16 2018-03-28 14:09:17Z - Update status codes to official IANA list (GH#100) (Theo van Hoesel) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/MANIFEST new/HTTP-Message-6.18/MANIFEST --- old/HTTP-Message-6.16/MANIFEST 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/MANIFEST 2018-06-05 18:29:24.000000000 +0200 @@ -1,4 +1,5 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.011. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. +CONTRIBUTING.md CONTRIBUTORS Changes INSTALL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/META.json new/HTTP-Message-6.18/META.json --- old/HTTP-Message-6.16/META.json 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/META.json 2018-06-05 18:29:24.000000000 +0200 @@ -4,7 +4,7 @@ "Gisle Aas <gi...@activestate.com>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.011, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -92,7 +92,7 @@ "x_IRC" : "irc://irc.perl.org/#lwp", "x_MailingList" : "mailto:lib...@perl.org" }, - "version" : "6.16", + "version" : "6.18", "x_Dist_Zilla" : { "perl" : { "version" : "5.026001" @@ -101,7 +101,7 @@ { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -112,7 +112,7 @@ } }, "name" : "Prereqs", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -129,7 +129,7 @@ } }, "name" : "@Author::OALDERS/stale modules, build", - "version" : "0.054" + "version" : "0.055" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -144,7 +144,7 @@ } }, "name" : "@Author::OALDERS/stale modules, release", - "version" : "0.054" + "version" : "0.055" }, { "class" : "Dist::Zilla::Plugin::MAXMIND::TidyAll", @@ -154,7 +154,7 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Author::OALDERS/AutoPrereqs", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", @@ -169,12 +169,12 @@ } }, "name" : "@Author::OALDERS/MakeMaker", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::CPANFile", "name" : "@Author::OALDERS/CPANFile", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::ContributorsFile", @@ -184,37 +184,37 @@ { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::OALDERS/MetaJSON", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::OALDERS/MetaYAML", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::OALDERS/Manifest", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::MetaNoIndex", "name" : "@Author::OALDERS/MetaNoIndex", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::OALDERS/MetaConfig", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Author::OALDERS/MetaResources", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::OALDERS/License", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::InstallGuide", @@ -224,7 +224,7 @@ { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::OALDERS/ExecDir", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", @@ -239,7 +239,7 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Author::OALDERS/TestRelease", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", @@ -359,7 +359,7 @@ { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Author::OALDERS/PruneCruft", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", @@ -369,7 +369,7 @@ { "class" : "Dist::Zilla::Plugin::GithubMeta", "name" : "@Author::OALDERS/GithubMeta", - "version" : "0.54" + "version" : "0.58" }, { "class" : "Dist::Zilla::Plugin::Git::GatherDir", @@ -395,7 +395,7 @@ } }, "name" : "@Author::OALDERS/Git::GatherDir", - "version" : "2.043" + "version" : "2.045" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", @@ -431,18 +431,18 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.16.2", + "git_version" : "2.17.1", "repo_root" : "." } }, "name" : "@Author::OALDERS/Git::Check", - "version" : "2.043" + "version" : "2.045" }, { "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.16.2", + "git_version" : "2.17.1", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -450,7 +450,7 @@ } }, "name" : "@Author::OALDERS/Git::Contributors", - "version" : "0.032" + "version" : "0.034" }, { "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", @@ -465,7 +465,7 @@ { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Author::OALDERS/ShareDir", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::TravisCI::StatusBadge", @@ -475,12 +475,12 @@ { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::OALDERS/ConfirmRelease", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Author::OALDERS/UploadToCPAN", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", @@ -502,7 +502,7 @@ { "class" : "Dist::Zilla::Plugin::MetaProvides::Update", "name" : "@Author::OALDERS/@Git::VersionManager/MetaProvides::Update", - "version" : "0.005" + "version" : "0.007" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", @@ -539,7 +539,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.16.2", + "git_version" : "2.17.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -547,7 +547,7 @@ } }, "name" : "@Author::OALDERS/@Git::VersionManager/release snapshot", - "version" : "2.043" + "version" : "2.045" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -556,12 +556,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v6.16", + "tag" : "v6.18", "tag_format" : "v%v", "tag_message" : "v%v" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.16.2", + "git_version" : "2.17.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -569,7 +569,7 @@ } }, "name" : "@Author::OALDERS/@Git::VersionManager/Git::Tag", - "version" : "2.043" + "version" : "2.045" }, { "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional", @@ -590,7 +590,7 @@ { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@Author::OALDERS/@Git::VersionManager/NextRelease", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -611,7 +611,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.16.2", + "git_version" : "2.17.1", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -619,7 +619,7 @@ } }, "name" : "@Author::OALDERS/@Git::VersionManager/post-release commit", - "version" : "2.043" + "version" : "2.045" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -631,62 +631,62 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.16.2", + "git_version" : "2.17.1", "repo_root" : "." } }, "name" : "@Author::OALDERS/Git::Push", - "version" : "2.043" + "version" : "2.045" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.011" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.011" + "version" : "6.012" } ], "zilla" : { @@ -694,7 +694,7 @@ "config" : { "is_trial" : 0 }, - "version" : "6.011" + "version" : "6.012" } }, "x_contributors" : [ @@ -720,12 +720,14 @@ "Gavin Peters <gpet...@deepsky.com>", "Gisle Aas <gi...@aas.no>", "Graeme Thompson <graeme.thomp...@mobilecohesion.com>", + "Graham Knop <ha...@haarg.org>", "Hans-H. Froehlich <hfroehl...@co-de-co.de>", "Ian Kilgore <i...@cpan.org>", "Jacob J <w...@chaos2.org>", "jefflee <shao...@gmail.com>", "Jerome Eteve <jer...@broadbean.com>", "john9art <john9...@yahoo.com>", + "jonasbn <jona...@gmail.com>", "Karen Etheridge <et...@cpan.org>", "Mark Overmeer <m...@overmeer.net>", "Mark Stosberg <m...@stosberg.com>", @@ -739,6 +741,8 @@ "openstrike <g...@openstrike.co.uk>", "Peter Rabbitson <ribasu...@cpan.org>", "phrstbrn <phrst...@gmail.com>", + "Robert Rothenberg <robrwo+git...@gmail.com>", + "Robert Rothenberg <r...@cpan.org>", "Robert Stone <ta...@trap.mtview.ca.us>", "Rolf Grossmann <r...@progtech.net>", "ruff <r...@ukrpost.net>", @@ -762,6 +766,7 @@ "Yuri Karaban <t...@askold.net>", "Zefram <zef...@fysh.org>" ], + "x_generated_by_perl" : "v5.26.1", "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/META.yml new/HTTP-Message-6.18/META.yml --- old/HTTP-Message-6.16/META.yml 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/META.yml 2018-06-05 18:29:24.000000000 +0200 @@ -14,7 +14,7 @@ ExtUtils::MakeMaker: '0' perl: '5.006' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.011, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -55,7 +55,7 @@ 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.16' +version: '6.18' x_Dist_Zilla: perl: version: '5.026001' @@ -63,7 +63,7 @@ - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::Prereqs config: @@ -71,7 +71,7 @@ phase: runtime type: requires name: Prereqs - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -84,7 +84,7 @@ run_under_travis: 0 skip: [] name: '@Author::OALDERS/stale modules, build' - version: '0.054' + version: '0.055' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -96,7 +96,7 @@ run_under_travis: 0 skip: [] name: '@Author::OALDERS/stale modules, release' - version: '0.054' + version: '0.055' - class: Dist::Zilla::Plugin::MAXMIND::TidyAll name: '@Author::OALDERS/MAXMIND::TidyAll' @@ -104,7 +104,7 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::OALDERS/AutoPrereqs' - version: '6.011' + version: '6.012' - 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.011' + version: '6.012' - class: Dist::Zilla::Plugin::CPANFile name: '@Author::OALDERS/CPANFile' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::ContributorsFile name: '@Author::OALDERS/ContributorsFile' @@ -127,31 +127,31 @@ - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::OALDERS/MetaJSON' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::OALDERS/MetaYAML' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::Manifest name: '@Author::OALDERS/Manifest' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::MetaNoIndex name: '@Author::OALDERS/MetaNoIndex' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::OALDERS/MetaConfig' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::MetaResources name: '@Author::OALDERS/MetaResources' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::License name: '@Author::OALDERS/License' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::InstallGuide name: '@Author::OALDERS/InstallGuide' @@ -159,7 +159,7 @@ - class: Dist::Zilla::Plugin::ExecDir name: '@Author::OALDERS/ExecDir' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::Test::CPAN::Changes config: @@ -170,7 +170,7 @@ - class: Dist::Zilla::Plugin::TestRelease name: '@Author::OALDERS/TestRelease' - version: '6.011' + version: '6.012' - 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.011' + version: '6.012' - class: Dist::Zilla::Plugin::CopyFilesFromBuild name: '@Author::OALDERS/CopyFilesFromBuild' @@ -271,7 +271,7 @@ - class: Dist::Zilla::Plugin::GithubMeta name: '@Author::OALDERS/GithubMeta' - version: '0.54' + version: '0.58' - class: Dist::Zilla::Plugin::Git::GatherDir config: @@ -292,7 +292,7 @@ Dist::Zilla::Plugin::Git::GatherDir: include_untracked: 0 name: '@Author::OALDERS/Git::GatherDir' - version: '2.043' + version: '2.045' - class: Dist::Zilla::Plugin::CopyFilesFromRelease config: @@ -320,21 +320,21 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.16.2 + git_version: 2.17.1 repo_root: . name: '@Author::OALDERS/Git::Check' - version: '2.043' + version: '2.045' - class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.16.2 + git_version: 2.17.1 include_authors: 0 include_releaser: 1 order_by: name paths: [] name: '@Author::OALDERS/Git::Contributors' - version: '0.032' + version: '0.034' - class: Dist::Zilla::Plugin::ReadmeAnyFromPod config: @@ -345,7 +345,7 @@ - class: Dist::Zilla::Plugin::ShareDir name: '@Author::OALDERS/ShareDir' - version: '6.011' + version: '6.012' - 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.011' + version: '6.012' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Author::OALDERS/UploadToCPAN' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::RewriteVersion::Transitional config: @@ -374,7 +374,7 @@ - class: Dist::Zilla::Plugin::MetaProvides::Update name: '@Author::OALDERS/@Git::VersionManager/MetaProvides::Update' - version: '0.005' + version: '0.007' - class: Dist::Zilla::Plugin::CopyFilesFromRelease config: @@ -403,12 +403,12 @@ allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.16.2 + git_version: 2.17.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::OALDERS/@Git::VersionManager/release snapshot' - version: '2.043' + version: '2.045' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -416,16 +416,16 @@ branch: ~ changelog: Changes signed: 0 - tag: v6.16 + tag: v6.18 tag_format: v%v tag_message: v%v Dist::Zilla::Role::Git::Repo: - git_version: 2.16.2 + git_version: 2.17.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::OALDERS/@Git::VersionManager/Git::Tag' - version: '2.043' + version: '2.045' - class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional config: @@ -441,7 +441,7 @@ - class: Dist::Zilla::Plugin::NextRelease name: '@Author::OALDERS/@Git::VersionManager/NextRelease' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -457,12 +457,12 @@ - (?^:^lib/.*\.pm$) changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.16.2 + git_version: 2.17.1 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::OALDERS/@Git::VersionManager/post-release commit' - version: '2.043' + version: '2.045' - class: Dist::Zilla::Plugin::Git::Push config: @@ -471,55 +471,55 @@ - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.16.2 + git_version: 2.17.1 repo_root: . name: '@Author::OALDERS/Git::Push' - version: '2.043' + version: '2.045' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.011' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.011' + version: '6.012' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.011' + version: '6.012' x_contributors: - 'Adam Kennedy <ad...@cpan.org>' - 'Adam Sjogren <a...@koldfront.dk>' @@ -543,12 +543,14 @@ - 'Gavin Peters <gpet...@deepsky.com>' - 'Gisle Aas <gi...@aas.no>' - 'Graeme Thompson <graeme.thomp...@mobilecohesion.com>' + - 'Graham Knop <ha...@haarg.org>' - 'Hans-H. Froehlich <hfroehl...@co-de-co.de>' - 'Ian Kilgore <i...@cpan.org>' - 'Jacob J <w...@chaos2.org>' - 'jefflee <shao...@gmail.com>' - 'Jerome Eteve <jer...@broadbean.com>' - 'john9art <john9...@yahoo.com>' + - 'jonasbn <jona...@gmail.com>' - 'Karen Etheridge <et...@cpan.org>' - 'Mark Overmeer <m...@overmeer.net>' - 'Mark Stosberg <m...@stosberg.com>' @@ -562,6 +564,8 @@ - 'openstrike <g...@openstrike.co.uk>' - 'Peter Rabbitson <ribasu...@cpan.org>' - 'phrstbrn <phrst...@gmail.com>' + - 'Robert Rothenberg <robrwo+git...@gmail.com>' + - 'Robert Rothenberg <r...@cpan.org>' - 'Robert Stone <ta...@trap.mtview.ca.us>' - 'Rolf Grossmann <r...@progtech.net>' - 'ruff <r...@ukrpost.net>' @@ -584,4 +588,5 @@ - 'Ville Skyttä <ville.sky...@iki.fi>' - 'Yuri Karaban <t...@askold.net>' - 'Zefram <zef...@fysh.org>' +x_generated_by_perl: v5.26.1 x_serialization_backend: 'YAML::Tiny version 1.70' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/Makefile.PL new/HTTP-Message-6.18/Makefile.PL --- old/HTTP-Message-6.16/Makefile.PL 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/Makefile.PL 2018-06-05 18:29:24.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.011. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012. use strict; use warnings; @@ -48,7 +48,7 @@ "Time::Local" => 0, "Try::Tiny" => 0 }, - "VERSION" => "6.16", + "VERSION" => "6.18", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/README.md new/HTTP-Message-6.18/README.md --- old/HTTP-Message-6.16/README.md 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/README.md 2018-06-05 18:29:24.000000000 +0200 @@ -4,7 +4,7 @@ # VERSION -version 6.16 +version 6.18 # SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Config.pm new/HTTP-Message-6.18/lib/HTTP/Config.pm --- old/HTTP-Message-6.16/lib/HTTP/Config.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Config.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; use URI; @@ -245,7 +245,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Headers/Auth.pm new/HTTP-Message-6.18/lib/HTTP/Headers/Auth.pm --- old/HTTP-Message-6.16/lib/HTTP/Headers/Auth.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Headers/Auth.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; use HTTP::Headers; @@ -111,7 +111,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Headers/ETag.pm new/HTTP-Message-6.18/lib/HTTP/Headers/ETag.pm --- old/HTTP-Message-6.16/lib/HTTP/Headers/ETag.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Headers/ETag.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; require HTTP::Date; @@ -107,7 +107,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Headers/Util.pm new/HTTP-Message-6.18/lib/HTTP/Headers/Util.pm --- old/HTTP-Message-6.16/lib/HTTP/Headers/Util.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Headers/Util.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; use base 'Exporter'; @@ -103,7 +103,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Headers.pm new/HTTP-Message-6.18/lib/HTTP/Headers.pm --- old/HTTP-Message-6.16/lib/HTTP/Headers.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Headers.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; use Carp (); @@ -475,7 +475,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Message.pm new/HTTP-Message-6.18/lib/HTTP/Message.pm --- old/HTTP-Message-6.16/lib/HTTP/Message.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Message.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; require HTTP::Headers; require Carp; @@ -781,7 +781,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Request/Common.pm new/HTTP-Message-6.18/lib/HTTP/Request/Common.pm --- old/HTTP-Message-6.16/lib/HTTP/Request/Common.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Request/Common.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; our $DYNAMIC_FILE_UPLOAD ||= 0; # make it defined (don't know why) @@ -312,7 +312,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Request.pm new/HTTP-Message-6.18/lib/HTTP/Request.pm --- old/HTTP-Message-6.16/lib/HTTP/Request.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Request.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; use base 'HTTP::Message'; @@ -145,7 +145,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Response.pm new/HTTP-Message-6.18/lib/HTTP/Response.pm --- old/HTTP-Message-6.16/lib/HTTP/Response.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Response.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; use base 'HTTP::Message'; @@ -351,7 +351,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/lib/HTTP/Status.pm new/HTTP-Message-6.18/lib/HTTP/Status.pm --- old/HTTP-Message-6.16/lib/HTTP/Status.pm 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/lib/HTTP/Status.pm 2018-06-05 18:29:24.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -our $VERSION = '6.16'; +our $VERSION = '6.18'; require 5.002; # because we use prototypes @@ -75,7 +75,7 @@ # 430 431 => 'Request Header Fields Too Large', # RFC 6585: Additional Codes # 432 .. 450 - 451 => 'Unavailable For Legal Reasons', # RFC 7724: Legal Obstacels + 451 => 'Unavailable For Legal Reasons', # RFC 7724: Legal Obstacles # 452 .. 499 500 => 'Internal Server Error', 501 => 'Not Implemented', @@ -135,19 +135,20 @@ 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 - ); } +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] == 451 # Unavailable For Legal Reasons + || $_[0] == 501 # Not Implemented + ); +} 1; @@ -161,7 +162,7 @@ =head1 VERSION -version 6.16 +version 6.18 =head1 SYNOPSIS @@ -201,7 +202,9 @@ HTTP_RESET_CONTENT (205) HTTP_PARTIAL_CONTENT (206) HTTP_MULTI_STATUS (207) - HTTP_ALREADY_REPORTED (208) + HTTP_ALREADY_REPORTED (208) + + HTTP_IM_USED (226) HTTP_MULTIPLE_CHOICES (300) HTTP_MOVED_PERMANENTLY (301) @@ -230,16 +233,15 @@ HTTP_UNSUPPORTED_MEDIA_TYPE (415) HTTP_REQUEST_RANGE_NOT_SATISFIABLE (416) HTTP_EXPECTATION_FAILED (417) - HTTP_I_AM_A_TEAPOT (418) + HTTP_MISDIRECTED REQUEST (421) HTTP_UNPROCESSABLE_ENTITY (422) HTTP_LOCKED (423) HTTP_FAILED_DEPENDENCY (424) - HTTP_NO_CODE (425) HTTP_UPGRADE_REQUIRED (426) - HTTP_PRECONDITION_REQUIRED (428) - HTTP_TOO_MANY_REQUESTS (429) + HTTP_PRECONDITION_REQUIRED (428) + HTTP_TOO_MANY_REQUESTS (429) HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE (431) - HTTP_RETRY_WITH (449) + HTTP_UNAVAILABLE_FOR_LEGAL_REASONS (451) HTTP_INTERNAL_SERVER_ERROR (500) HTTP_NOT_IMPLEMENTED (501) @@ -249,7 +251,7 @@ HTTP_HTTP_VERSION_NOT_SUPPORTED (505) HTTP_VARIANT_ALSO_NEGOTIATES (506) HTTP_INSUFFICIENT_STORAGE (507) - HTTP_BANDWIDTH_LIMIT_EXCEEDED (509) + HTTP_LOOP_DETECTED (508) HTTP_NOT_EXTENDED (510) HTTP_NETWORK_AUTHENTICATION_REQUIRED (511) @@ -265,7 +267,9 @@ The status_message() function will translate status codes to human readable strings. The string is the same as found in the constant -names above. If the $code is unknown, then C<undef> is returned. +names above. If the $code is not registered in the L<list of IANA HTTP Status +Codes|https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml> +then C<undef> is returned. =item is_info( $code ) @@ -308,13 +312,17 @@ 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, +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 SEE ALSO + +L<IANA HTTP Status Codes|https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml> + =head1 BUGS For legacy reasons all the C<HTTP_> constants are exported by default diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/HTTP-Message-6.16/t/status.t new/HTTP-Message-6.18/t/status.t --- old/HTTP-Message-6.16/t/status.t 2018-03-28 16:09:31.000000000 +0200 +++ new/HTTP-Message-6.18/t/status.t 2018-06-05 18:29:24.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; use Test::More; -plan tests => 36; +plan tests => 39; use HTTP::Status qw(:constants :is status_message); @@ -17,8 +17,11 @@ ok(!is_success(HTTP_NOT_FOUND)); -is(status_message(0), undef); +is(status_message( 0), undef); is(status_message(200), "OK"); +is(status_message(404), "Not Found"); +is(status_message(999), undef); + ok(!is_info(HTTP_NOT_FOUND)); ok(!is_success(HTTP_NOT_FOUND)); @@ -33,7 +36,7 @@ ok(is_cacheable_by_default($_), "Cacheable by default [$_] " . status_message($_) -) for (200,203,204,206,300,301,404,405,410,414,501); +) for (200,203,204,206,300,301,404,405,410,414,451,501); ok(!is_cacheable_by_default($_), "... is not cacheable [$_] " . status_message($_)