Hello community,

here is the log from the commit of package perl-HTTP-Message for 
openSUSE:Factory checked in at 2018-04-02 22:47:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 Apr  2 22:47:18 2018 rev:19 rq:592146 version:6.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-HTTP-Message/perl-HTTP-Message.changes      
2018-03-19 23:31:31.084201915 +0100
+++ /work/SRC/openSUSE:Factory/.perl-HTTP-Message.new/perl-HTTP-Message.changes 
2018-04-02 22:47:21.429924423 +0200
@@ -1,0 +2,9 @@
+Thu Mar 29 05:25:35 UTC 2018 - co...@suse.com
+
+- updated to 6.16
+   see /usr/share/doc/packages/perl-HTTP-Message/Changes
+
+  6.16      2018-03-28 14:09:17Z
+      - Update status codes to official IANA list (GH#100) (Theo van Hoesel)
+
+-------------------------------------------------------------------

Old:
----
  HTTP-Message-6.15.tar.gz

New:
----
  HTTP-Message-6.16.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-HTTP-Message.spec ++++++
--- /var/tmp/diff_new_pack.NaVcj3/_old  2018-04-02 22:47:22.153898100 +0200
+++ /var/tmp/diff_new_pack.NaVcj3/_new  2018-04-02 22:47:22.157897955 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-HTTP-Message
-Version:        6.15
+Version:        6.16
 Release:        0
 %define cpan_name HTTP-Message
 Summary:        HTTP style message (base class)

++++++ HTTP-Message-6.15.tar.gz -> HTTP-Message-6.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/Changes 
new/HTTP-Message-6.16/Changes
--- old/HTTP-Message-6.15/Changes       2018-03-13 14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/Changes       2018-03-28 16:09:31.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for HTTP-Message
 
+6.16      2018-03-28 14:09:17Z
+    - Update status codes to official IANA list (GH#100) (Theo van Hoesel)
+
 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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/INSTALL 
new/HTTP-Message-6.16/INSTALL
--- old/HTTP-Message-6.15/INSTALL       2018-03-13 14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/INSTALL       2018-03-28 16:09:31.000000000 +0200
@@ -31,13 +31,22 @@
 
     % make install
 
+On Windows platforms, you should use `dmake` or `nmake`, instead of `make`.
+
 If your perl is system-managed, you can create a local::lib in your home
 directory to install modules to. For details, see the local::lib documentation:
 https://metacpan.org/pod/local::lib
 
+
+The prerequisites of this distribution will also have to be installed 
manually. The
+prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` 
generated
+by running the manual build process described above.
+
 ## Documentation
 
 HTTP-Message documentation is available as POD.
-You can run perldoc from a shell to read the documentation:
+You can run `perldoc` from a shell to read the documentation:
 
     % perldoc HTTP::Message
+For more information on installing Perl modules via CPAN, please see:
+https://www.cpan.org/modules/INSTALL.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/META.json 
new/HTTP-Message-6.16/META.json
--- old/HTTP-Message-6.15/META.json     2018-03-13 14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/META.json     2018-03-28 16:09:31.000000000 +0200
@@ -92,7 +92,7 @@
       "x_IRC" : "irc://irc.perl.org/#lwp",
       "x_MailingList" : "mailto:lib...@perl.org";
    },
-   "version" : "6.15",
+   "version" : "6.16",
    "x_Dist_Zilla" : {
       "perl" : {
          "version" : "5.026001"
@@ -219,7 +219,7 @@
          {
             "class" : "Dist::Zilla::Plugin::InstallGuide",
             "name" : "@Author::OALDERS/InstallGuide",
-            "version" : "1.200007"
+            "version" : "1.200009"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExecDir",
@@ -556,7 +556,7 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v6.15",
+                  "tag" : "v6.16",
                   "tag_format" : "v%v",
                   "tag_message" : "v%v"
                },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/META.yml 
new/HTTP-Message-6.16/META.yml
--- old/HTTP-Message-6.15/META.yml      2018-03-13 14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/META.yml      2018-03-28 16:09:31.000000000 +0200
@@ -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.15'
+version: '6.16'
 x_Dist_Zilla:
   perl:
     version: '5.026001'
@@ -155,7 +155,7 @@
     -
       class: Dist::Zilla::Plugin::InstallGuide
       name: '@Author::OALDERS/InstallGuide'
-      version: '1.200007'
+      version: '1.200009'
     -
       class: Dist::Zilla::Plugin::ExecDir
       name: '@Author::OALDERS/ExecDir'
@@ -416,7 +416,7 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v6.15
+          tag: v6.16
           tag_format: v%v
           tag_message: v%v
         Dist::Zilla::Role::Git::Repo:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/Makefile.PL 
new/HTTP-Message-6.16/Makefile.PL
--- old/HTTP-Message-6.15/Makefile.PL   2018-03-13 14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/Makefile.PL   2018-03-28 16:09:31.000000000 +0200
@@ -48,7 +48,7 @@
     "Time::Local" => 0,
     "Try::Tiny" => 0
   },
-  "VERSION" => "6.15",
+  "VERSION" => "6.16",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/README.md 
new/HTTP-Message-6.16/README.md
--- old/HTTP-Message-6.15/README.md     2018-03-13 14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/README.md     2018-03-28 16:09:31.000000000 +0200
@@ -4,7 +4,7 @@
 
 # VERSION
 
-version 6.15
+version 6.16
 
 # SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Config.pm 
new/HTTP-Message-6.16/lib/HTTP/Config.pm
--- old/HTTP-Message-6.15/lib/HTTP/Config.pm    2018-03-13 14:03:03.000000000 
+0100
+++ new/HTTP-Message-6.16/lib/HTTP/Config.pm    2018-03-28 16:09:31.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 use URI;
 
@@ -245,7 +245,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Headers/Auth.pm 
new/HTTP-Message-6.16/lib/HTTP/Headers/Auth.pm
--- old/HTTP-Message-6.15/lib/HTTP/Headers/Auth.pm      2018-03-13 
14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/lib/HTTP/Headers/Auth.pm      2018-03-28 
16:09:31.000000000 +0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 use HTTP::Headers;
 
@@ -111,7 +111,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Headers/ETag.pm 
new/HTTP-Message-6.16/lib/HTTP/Headers/ETag.pm
--- old/HTTP-Message-6.15/lib/HTTP/Headers/ETag.pm      2018-03-13 
14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/lib/HTTP/Headers/ETag.pm      2018-03-28 
16:09:31.000000000 +0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 require HTTP::Date;
 
@@ -107,7 +107,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Headers/Util.pm 
new/HTTP-Message-6.16/lib/HTTP/Headers/Util.pm
--- old/HTTP-Message-6.15/lib/HTTP/Headers/Util.pm      2018-03-13 
14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/lib/HTTP/Headers/Util.pm      2018-03-28 
16:09:31.000000000 +0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 use base 'Exporter';
 
@@ -103,7 +103,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Headers.pm 
new/HTTP-Message-6.16/lib/HTTP/Headers.pm
--- old/HTTP-Message-6.15/lib/HTTP/Headers.pm   2018-03-13 14:03:03.000000000 
+0100
+++ new/HTTP-Message-6.16/lib/HTTP/Headers.pm   2018-03-28 16:09:31.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 use Carp ();
 
@@ -475,7 +475,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Message.pm 
new/HTTP-Message-6.16/lib/HTTP/Message.pm
--- old/HTTP-Message-6.15/lib/HTTP/Message.pm   2018-03-13 14:03:03.000000000 
+0100
+++ new/HTTP-Message-6.16/lib/HTTP/Message.pm   2018-03-28 16:09:31.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 require HTTP::Headers;
 require Carp;
@@ -781,7 +781,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Request/Common.pm 
new/HTTP-Message-6.16/lib/HTTP/Request/Common.pm
--- old/HTTP-Message-6.15/lib/HTTP/Request/Common.pm    2018-03-13 
14:03:03.000000000 +0100
+++ new/HTTP-Message-6.16/lib/HTTP/Request/Common.pm    2018-03-28 
16:09:31.000000000 +0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 our $DYNAMIC_FILE_UPLOAD ||= 0;  # make it defined (don't know why)
 
@@ -312,7 +312,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Request.pm 
new/HTTP-Message-6.16/lib/HTTP/Request.pm
--- old/HTTP-Message-6.15/lib/HTTP/Request.pm   2018-03-13 14:03:03.000000000 
+0100
+++ new/HTTP-Message-6.16/lib/HTTP/Request.pm   2018-03-28 16:09:31.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 use base 'HTTP::Message';
 
@@ -145,7 +145,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Response.pm 
new/HTTP-Message-6.16/lib/HTTP/Response.pm
--- old/HTTP-Message-6.15/lib/HTTP/Response.pm  2018-03-13 14:03:03.000000000 
+0100
+++ new/HTTP-Message-6.16/lib/HTTP/Response.pm  2018-03-28 16:09:31.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 use base 'HTTP::Message';
 
@@ -351,7 +351,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HTTP-Message-6.15/lib/HTTP/Status.pm 
new/HTTP-Message-6.16/lib/HTTP/Status.pm
--- old/HTTP-Message-6.15/lib/HTTP/Status.pm    2018-03-13 14:03:03.000000000 
+0100
+++ new/HTTP-Message-6.16/lib/HTTP/Status.pm    2018-03-28 16:09:31.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '6.15';
+our $VERSION = '6.16';
 
 require 5.002;   # because we use prototypes
 
@@ -13,70 +13,91 @@
 
 # Note also addition of mnemonics to @EXPORT below
 
-# Unmarked codes are from RFC 2616
-# See also: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
+# Unmarked codes are from RFC 7231 (2017-12-20)
+# See also:
+# https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
 
 my %StatusCode = (
     100 => 'Continue',
     101 => 'Switching Protocols',
-    102 => 'Processing',                      # RFC 2518 (WebDAV)
-    103 => 'Early Hints',                     # RFC 8297
+    102 => 'Processing',                      # RFC 2518: WebDAV
+    103 => 'Early Hints',                     # RFC 8297: Indicating Hints
+#   104 .. 199
     200 => 'OK',
     201 => 'Created',
     202 => 'Accepted',
     203 => 'Non-Authoritative Information',
     204 => 'No Content',
     205 => 'Reset Content',
-    206 => 'Partial Content',
-    207 => 'Multi-Status',                    # RFC 2518 (WebDAV)
-    208 => 'Already Reported',               # RFC 5842
+    206 => 'Partial Content',                 # RFC 7233: Range Requests
+    207 => 'Multi-Status',                    # RFC 4918: WebDAV
+    208 => 'Already Reported',                # RFC 5842: WebDAV bindings
+#   209 .. 225
+    226 => 'IM used',                         # RFC 3229: Delta encoding
+#   227 .. 299
     300 => 'Multiple Choices',
     301 => 'Moved Permanently',
     302 => 'Found',
     303 => 'See Other',
-    304 => 'Not Modified',
+    304 => 'Not Modified',                    # RFC 7232: Conditional Request
     305 => 'Use Proxy',
     307 => 'Temporary Redirect',
-    308 => 'Permanent Redirect',              # RFC 7238
+    308 => 'Permanent Redirect',              # RFC 7528: Permanent Redirect
+#   309 .. 399
     400 => 'Bad Request',
-    401 => 'Unauthorized',
+    401 => 'Unauthorized',                    # RFC 7235: Authentication
     402 => 'Payment Required',
     403 => 'Forbidden',
     404 => 'Not Found',
     405 => 'Method Not Allowed',
     406 => 'Not Acceptable',
-    407 => 'Proxy Authentication Required',
+    407 => 'Proxy Authentication Required',   # RFC 7235: Authentication
     408 => 'Request Timeout',
     409 => 'Conflict',
     410 => 'Gone',
     411 => 'Length Required',
-    412 => 'Precondition Failed',
+    412 => 'Precondition Failed',             # RFC 7232: Conditional Request
     413 => 'Request Entity Too Large',
     414 => 'Request-URI Too Large',
     415 => 'Unsupported Media Type',
-    416 => 'Request Range Not Satisfiable',
+    416 => 'Request Range Not Satisfiable',   # RFC 7233: Range Requests
     417 => 'Expectation Failed',
-    418 => 'I\'m a teapot',                  # RFC 2324
-    422 => 'Unprocessable Entity',            # RFC 2518 (WebDAV)
-    423 => 'Locked',                          # RFC 2518 (WebDAV)
-    424 => 'Failed Dependency',               # RFC 2518 (WebDAV)
-    425 => 'No code',                         # WebDAV Advanced Collections
-    426 => 'Upgrade Required',                # RFC 2817
-    428 => 'Precondition Required',
-    429 => 'Too Many Requests',
-    431 => 'Request Header Fields Too Large',
-    449 => 'Retry with',                      # unofficial Microsoft
+#   418 .. 420
+    421 => 'Misdirected Request',             # RFC 7540: HTTP/2
+    422 => 'Unprocessable Entity',            # RFC 4918: WebDAV
+    423 => 'Locked',                          # RFC 4918: WebDAV
+    424 => 'Failed Dependency',               # RFC 4918: WebDAV
+#   425
+    426 => 'Upgrade Required',
+#   427
+    428 => 'Precondition Required',           # RFC 6585: Additional Codes
+    429 => 'Too Many Requests',               # RFC 6585: Additional Codes
+#   430
+    431 => 'Request Header Fields Too Large', # RFC 6585: Additional Codes
+#   432 .. 450
+    451 => 'Unavailable For Legal Reasons',   # RFC 7724: Legal Obstacels
+#   452 .. 499
     500 => 'Internal Server Error',
     501 => 'Not Implemented',
     502 => 'Bad Gateway',
     503 => 'Service Unavailable',
     504 => 'Gateway Timeout',
     505 => 'HTTP Version Not Supported',
-    506 => 'Variant Also Negotiates',         # RFC 2295
-    507 => 'Insufficient Storage',            # RFC 2518 (WebDAV)
-    509 => 'Bandwidth Limit Exceeded',        # unofficial
-    510 => 'Not Extended',                    # RFC 2774
-    511 => 'Network Authentication Required',
+    506 => 'Variant Also Negotiates',         # RFC 2295: Transparant Ngttn
+    507 => 'Insufficient Storage',            # RFC 4918: WebDAV
+    508 => 'Loop Detected',                   # RFC 5842: WebDAV bindings
+#   509
+    510 => 'Not Extended',                    # RFC 2774: Extension Framework
+    511 => 'Network Authentication Required', # RFC 6585: Additional Codes
+);
+
+# keep some unofficial codes that used to be in this distribution
+%StatusCode = (
+    %StatusCode,
+    418 => 'I\'m a teapot',                   # RFC 2324: HTCPC/1.0  1-april
+    425 => 'Unordered Collection',            #           WebDAV Draft
+    449 => 'Retry with',                      #           microsoft
+    509 => 'Bandwidth Limit Exceeded',        #           Apache / cPanel
 );
 
 my $mnemonicCode = '';
@@ -97,6 +118,9 @@
 *RC_MOVED_TEMPORARILY = \&RC_FOUND;  # 302 was renamed in the standard
 push(@EXPORT, "RC_MOVED_TEMPORARILY");
 
+*RC_NO_CODE = \&RC_UNORDERED_COLLECTION;
+push(@EXPORT, "RC_NO_CODE");
+
 our %EXPORT_TAGS = (
    constants => [grep /^HTTP_/, @EXPORT_OK],
    is => [grep /^is_/, @EXPORT, @EXPORT_OK],
@@ -137,7 +161,7 @@
 
 =head1 VERSION
 
-version 6.15
+version 6.16
 
 =head1 SYNOPSIS
 


Reply via email to