Imported Upstream version 6.44 upstream/6.44
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 21 Jul 2022 02:28:25 +0000 (11:28 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 21 Jul 2022 02:28:25 +0000 (11:28 +0900)
32 files changed:
Changes
MANIFEST
META.json
META.yml
Makefile.PL
lib/LWP.pm
lib/LWP/Authen/Basic.pm
lib/LWP/Authen/Digest.pm
lib/LWP/Authen/Ntlm.pm
lib/LWP/ConnCache.pm
lib/LWP/Debug.pm
lib/LWP/Debug/TraceHTTP.pm
lib/LWP/DebugFile.pm
lib/LWP/MemberMixin.pm
lib/LWP/Protocol.pm
lib/LWP/Protocol/cpan.pm
lib/LWP/Protocol/data.pm
lib/LWP/Protocol/file.pm
lib/LWP/Protocol/ftp.pm
lib/LWP/Protocol/gopher.pm
lib/LWP/Protocol/http.pm
lib/LWP/Protocol/loopback.pm
lib/LWP/Protocol/mailto.pm
lib/LWP/Protocol/nntp.pm
lib/LWP/Protocol/nogo.pm
lib/LWP/RobotUA.pm
lib/LWP/Simple.pm
lib/LWP/UserAgent.pm
t/local/http.t
xt/author/minimum-version.t
xt/author/pod-spell.t
xt/release/changes_has_content.t

diff --git a/Changes b/Changes
index 80d2a98..9e2b7cb 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,7 +1,11 @@
 Change history for libwww-perl
 
+6.44      2020-04-14 19:37:45Z
+    - Support basic authentication charset per RFC 7617 (GH#339) (Ville Skytt)
+    - Fixed POD mistake. (GH PR#338. Sebastian Paaske Tørholm)
+
 6.43      2019-11-26 13:54:43Z
-    - Continue trying different Authentication challenge schemes if 
+    - Continue trying different Authentication challenge schemes if
       credentials are wrong (Roman Galeev, Julien Fiegehenn)
 
 6.42      2019-11-20 17:40:52Z
index b937f70..e018fae 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.014.
 CONTRIBUTING.md
 Changes
 INSTALL
index 6889f78..057766b 100644 (file)
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
       "Gisle Aas <gisle@activestate.com>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
+   "generated_by" : "Dist::Zilla version 6.014, CPAN::Meta::Converter version 2.150010",
    "license" : [
       "perl_5"
    ],
    "provides" : {
       "LWP" : {
          "file" : "lib/LWP.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Authen::Basic" : {
          "file" : "lib/LWP/Authen/Basic.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Authen::Digest" : {
          "file" : "lib/LWP/Authen/Digest.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Authen::Ntlm" : {
          "file" : "lib/LWP/Authen/Ntlm.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::ConnCache" : {
          "file" : "lib/LWP/ConnCache.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Debug" : {
          "file" : "lib/LWP/Debug.pm",
-         "version" : "6.43",
+         "version" : "6.44",
          "x_deprecated" : 1
       },
       "LWP::Debug::TraceHTTP" : {
          "file" : "lib/LWP/Debug/TraceHTTP.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::DebugFile" : {
          "file" : "lib/LWP/DebugFile.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::MemberMixin" : {
          "file" : "lib/LWP/MemberMixin.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol" : {
          "file" : "lib/LWP/Protocol.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::cpan" : {
          "file" : "lib/LWP/Protocol/cpan.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::data" : {
          "file" : "lib/LWP/Protocol/data.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::file" : {
          "file" : "lib/LWP/Protocol/file.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::ftp" : {
          "file" : "lib/LWP/Protocol/ftp.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::gopher" : {
          "file" : "lib/LWP/Protocol/gopher.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::http" : {
          "file" : "lib/LWP/Protocol/http.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::loopback" : {
          "file" : "lib/LWP/Protocol/loopback.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::mailto" : {
          "file" : "lib/LWP/Protocol/mailto.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::nntp" : {
          "file" : "lib/LWP/Protocol/nntp.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Protocol::nogo" : {
          "file" : "lib/LWP/Protocol/nogo.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::RobotUA" : {
          "file" : "lib/LWP/RobotUA.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::Simple" : {
          "file" : "lib/LWP/Simple.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       },
       "LWP::UserAgent" : {
          "file" : "lib/LWP/UserAgent.pm",
-         "version" : "6.43"
+         "version" : "6.44"
       }
    },
    "release_status" : "stable",
       "x_IRC" : "irc://irc.perl.org/#lwp",
       "x_MailingList" : "mailto:libwww@perl.org"
    },
-   "version" : "6.43",
+   "version" : "6.44",
    "x_Dist_Zilla" : {
       "perl" : {
-         "version" : "5.030000"
+         "version" : "5.026001"
       },
       "plugins" : [
          {
          {
             "class" : "Dist::Zilla::Plugin::MetaConfig",
             "name" : "MetaConfig",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaProvides::Package",
                      {
                         "class" : "Dist::Zilla::Plugin::FinderCode",
                         "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
-                        "version" : "6.012"
+                        "version" : "6.014"
                      }
                   ],
                   "include_underscores" : 0
                   "meta_noindex" : 1
                },
                "Dist::Zilla::Role::ModuleMetadata" : {
-                  "Module::Metadata" : "1.000037",
-                  "version" : "0.006"
+                  "Module::Metadata" : "1.000033",
+                  "version" : "0.004"
                }
             },
             "name" : "MetaProvides::Package",
          {
             "class" : "Dist::Zilla::Plugin::MetaNoIndex",
             "name" : "MetaNoIndex",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaYAML",
             "name" : "MetaYAML",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaJSON",
             "name" : "MetaJSON",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaResources",
             "name" : "MetaResources",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::Deprecated",
             "class" : "Dist::Zilla::Plugin::Git::Contributors",
             "config" : {
                "Dist::Zilla::Plugin::Git::Contributors" : {
-                  "git_version" : "2.23.0",
+                  "git_version" : "2.26.0",
                   "include_authors" : 0,
                   "include_releaser" : 1,
                   "order_by" : "name",
          {
             "class" : "Dist::Zilla::Plugin::Manifest",
             "name" : "Manifest",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::License",
             "name" : "License",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::InstallGuide",
             "config" : {
                "Dist::Zilla::Role::ModuleMetadata" : {
-                  "Module::Metadata" : "1.000037",
-                  "version" : "0.006"
+                  "Module::Metadata" : "1.000033",
+                  "version" : "0.004"
                }
             },
             "name" : "InstallGuide",
          {
             "class" : "Dist::Zilla::Plugin::ExecDir",
             "name" : "ExecDir",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::Prereqs::FromCPANfile",
             "class" : "Dist::Zilla::Plugin::DynamicPrereqs",
             "config" : {
                "Dist::Zilla::Role::ModuleMetadata" : {
-                  "Module::Metadata" : "1.000037",
-                  "version" : "0.006"
+                  "Module::Metadata" : "1.000033",
+                  "version" : "0.004"
                }
             },
             "name" : "DynamicPrereqs",
-            "version" : "0.035"
+            "version" : "0.034"
          },
          {
             "class" : "Dist::Zilla::Plugin::MakeMaker::Awesome",
             "config" : {
                "Dist::Zilla::Plugin::MakeMaker" : {
                   "make_path" : "make",
-                  "version" : "6.012"
+                  "version" : "6.014"
                },
                "Dist::Zilla::Role::TestRunner" : {
                   "default_jobs" : 1,
-                  "version" : "6.012"
+                  "version" : "6.014"
                }
             },
             "name" : "MakeMaker::Awesome",
-            "version" : "0.48"
+            "version" : "0.47"
          },
          {
             "class" : "Dist::Zilla::Plugin::MojibakeTests",
          },
          {
             "class" : "Dist::Zilla::Plugin::Test::MinimumVersion",
-            "config" : {
-               "Dist::Zilla::Plugin::Test::MinimumVersion" : {
-                  "max_target_perl" : null
-               }
-            },
             "name" : "Test::MinimumVersion",
-            "version" : "2.000010"
+            "version" : "2.000008"
          },
          {
             "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
             "name" : "PodSyntaxTests",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable",
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.23.0",
+                  "git_version" : "2.26.0",
                   "repo_root" : "."
                }
             },
          {
             "class" : "Dist::Zilla::Plugin::TestRelease",
             "name" : "TestRelease",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::UploadToCPAN",
             "name" : "UploadToCPAN",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
                }
             },
             "name" : "@Git::VersionManager/pluginbundle version",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional",
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.23.0",
+                  "git_version" : "2.26.0",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v6.43",
+                  "tag" : "v6.44",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.23.0",
+                  "git_version" : "2.26.0",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
          {
             "class" : "Dist::Zilla::Plugin::NextRelease",
             "name" : "@Git::VersionManager/NextRelease",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Commit",
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.23.0",
+                  "git_version" : "2.26.0",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.23.0",
+                  "git_version" : "2.26.0",
                   "repo_root" : "."
                }
             },
          {
             "class" : "Dist::Zilla::Plugin::ConfirmRelease",
             "name" : "ConfirmRelease",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":InstallModules",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":IncModules",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":TestFiles",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExtraTestFiles",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExecFiles",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":PerlExecFiles",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ShareFiles",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":MainModule",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":AllFiles",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":NoFiles",
-            "version" : "6.012"
+            "version" : "6.014"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
-            "version" : "6.012"
+            "version" : "6.014"
          }
       ],
       "zilla" : {
          "config" : {
             "is_trial" : 0
          },
-         "version" : "6.012"
+         "version" : "6.014"
       }
    },
    "x_authority" : "cpan:LWWWP",
       "ruff <ruff@ukrpost.net>",
       "sasao <sasao@yugen.org>",
       "Sean M. Burke <sburke@cpan.org>",
+      "Sebastian Paaske T\u00f8rholm <Eckankar@gmail.com>",
       "Sergey Romanov <sromanov-dev@yandex.ru>",
       "Shoichi Kaji <skaji@cpan.org>",
       "Slaven Rezic <slaven@rezic.de>",
       "Yury Zavarin <yury.zavarin@gmail.com>",
       "Zefram <zefram@fysh.org>"
    ],
-   "x_generated_by_perl" : "v5.30.0",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.14"
+   "x_generated_by_perl" : "v5.26.1",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.04",
+   "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
 }
 
index 57d4e58..985da0d 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -17,7 +17,7 @@ configure_requires:
   Getopt::Long: '0'
   Module::Metadata: '0'
 dynamic_config: 1
-generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.014, CPAN::Meta::Converter version 2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -30,74 +30,74 @@ no_index:
 provides:
   LWP:
     file: lib/LWP.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Authen::Basic:
     file: lib/LWP/Authen/Basic.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Authen::Digest:
     file: lib/LWP/Authen/Digest.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Authen::Ntlm:
     file: lib/LWP/Authen/Ntlm.pm
-    version: '6.43'
+    version: '6.44'
   LWP::ConnCache:
     file: lib/LWP/ConnCache.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Debug:
     file: lib/LWP/Debug.pm
-    version: '6.43'
+    version: '6.44'
     x_deprecated: 1
   LWP::Debug::TraceHTTP:
     file: lib/LWP/Debug/TraceHTTP.pm
-    version: '6.43'
+    version: '6.44'
   LWP::DebugFile:
     file: lib/LWP/DebugFile.pm
-    version: '6.43'
+    version: '6.44'
   LWP::MemberMixin:
     file: lib/LWP/MemberMixin.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol:
     file: lib/LWP/Protocol.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::cpan:
     file: lib/LWP/Protocol/cpan.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::data:
     file: lib/LWP/Protocol/data.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::file:
     file: lib/LWP/Protocol/file.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::ftp:
     file: lib/LWP/Protocol/ftp.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::gopher:
     file: lib/LWP/Protocol/gopher.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::http:
     file: lib/LWP/Protocol/http.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::loopback:
     file: lib/LWP/Protocol/loopback.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::mailto:
     file: lib/LWP/Protocol/mailto.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::nntp:
     file: lib/LWP/Protocol/nntp.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Protocol::nogo:
     file: lib/LWP/Protocol/nogo.pm
-    version: '6.43'
+    version: '6.44'
   LWP::RobotUA:
     file: lib/LWP/RobotUA.pm
-    version: '6.43'
+    version: '6.44'
   LWP::Simple:
     file: lib/LWP/Simple.pm
-    version: '6.43'
+    version: '6.44'
   LWP::UserAgent:
     file: lib/LWP/UserAgent.pm
-    version: '6.43'
+    version: '6.44'
 requires:
   Digest::MD5: '0'
   Encode: '2.12'
@@ -134,10 +134,10 @@ resources:
   bugtracker: https://github.com/libwww-perl/libwww-perl/issues
   homepage: https://github.com/libwww-perl/libwww-perl
   repository: https://github.com/libwww-perl/libwww-perl.git
-version: '6.43'
+version: '6.44'
 x_Dist_Zilla:
   perl:
-    version: '5.030000'
+    version: '5.026001'
   plugins:
     -
       class: Dist::Zilla::Plugin::Git::GatherDir
@@ -160,7 +160,7 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::MetaConfig
       name: MetaConfig
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::MetaProvides::Package
       config:
@@ -169,7 +169,7 @@ x_Dist_Zilla:
             -
               class: Dist::Zilla::Plugin::FinderCode
               name: MetaProvides::Package/AUTOVIV/:InstallModulesPM
-              version: '6.012'
+              version: '6.014'
           include_underscores: 0
         Dist::Zilla::Role::MetaProvider::Provider:
           $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004'
@@ -177,26 +177,26 @@ x_Dist_Zilla:
           inherit_version: '1'
           meta_noindex: '1'
         Dist::Zilla::Role::ModuleMetadata:
-          Module::Metadata: '1.000037'
-          version: '0.006'
+          Module::Metadata: '1.000033'
+          version: '0.004'
       name: MetaProvides::Package
       version: '2.004003'
     -
       class: Dist::Zilla::Plugin::MetaNoIndex
       name: MetaNoIndex
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::MetaYAML
       name: MetaYAML
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::MetaJSON
       name: MetaJSON
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::MetaResources
       name: MetaResources
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::Deprecated
       config:
@@ -210,7 +210,7 @@ x_Dist_Zilla:
       class: Dist::Zilla::Plugin::Git::Contributors
       config:
         Dist::Zilla::Plugin::Git::Contributors:
-          git_version: 2.23.0
+          git_version: 2.26.0
           include_authors: 0
           include_releaser: 1
           order_by: name
@@ -228,23 +228,23 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::Manifest
       name: Manifest
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::License
       name: License
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::InstallGuide
       config:
         Dist::Zilla::Role::ModuleMetadata:
-          Module::Metadata: '1.000037'
-          version: '0.006'
+          Module::Metadata: '1.000033'
+          version: '0.004'
       name: InstallGuide
       version: '1.200013'
     -
       class: Dist::Zilla::Plugin::ExecDir
       name: ExecDir
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::Prereqs::FromCPANfile
       name: Prereqs::FromCPANfile
@@ -253,21 +253,21 @@ x_Dist_Zilla:
       class: Dist::Zilla::Plugin::DynamicPrereqs
       config:
         Dist::Zilla::Role::ModuleMetadata:
-          Module::Metadata: '1.000037'
-          version: '0.006'
+          Module::Metadata: '1.000033'
+          version: '0.004'
       name: DynamicPrereqs
-      version: '0.035'
+      version: '0.034'
     -
       class: Dist::Zilla::Plugin::MakeMaker::Awesome
       config:
         Dist::Zilla::Plugin::MakeMaker:
           make_path: make
-          version: '6.012'
+          version: '6.014'
         Dist::Zilla::Role::TestRunner:
           default_jobs: 1
-          version: '6.012'
+          version: '6.014'
       name: MakeMaker::Awesome
-      version: '0.48'
+      version: '0.47'
     -
       class: Dist::Zilla::Plugin::MojibakeTests
       name: MojibakeTests
@@ -331,15 +331,12 @@ x_Dist_Zilla:
       version: '0.006'
     -
       class: Dist::Zilla::Plugin::Test::MinimumVersion
-      config:
-        Dist::Zilla::Plugin::Test::MinimumVersion:
-          max_target_perl: ~
       name: Test::MinimumVersion
-      version: '2.000010'
+      version: '2.000008'
     -
       class: Dist::Zilla::Plugin::PodSyntaxTests
       name: PodSyntaxTests
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable
       name: Test::Pod::Coverage::Configurable
@@ -481,7 +478,7 @@ x_Dist_Zilla:
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.23.0
+          git_version: 2.26.0
           repo_root: .
       name: Git::Check
       version: '2.046'
@@ -507,11 +504,11 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::TestRelease
       name: TestRelease
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::UploadToCPAN
       name: UploadToCPAN
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::ReadmeAnyFromPod
       config:
@@ -536,7 +533,7 @@ x_Dist_Zilla:
           phase: develop
           type: recommends
       name: '@Git::VersionManager/pluginbundle version'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::RewriteVersion::Transitional
       config:
@@ -578,7 +575,7 @@ x_Dist_Zilla:
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.23.0
+          git_version: 2.26.0
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -591,11 +588,11 @@ x_Dist_Zilla:
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v6.43
+          tag: v6.44
           tag_format: v%V
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.23.0
+          git_version: 2.26.0
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -616,7 +613,7 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::NextRelease
       name: '@Git::VersionManager/NextRelease'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::Git::Commit
       config:
@@ -632,7 +629,7 @@ x_Dist_Zilla:
             - (?^:^lib/.*\.pm$)
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.23.0
+          git_version: 2.26.0
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -646,63 +643,63 @@ x_Dist_Zilla:
             - origin
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.23.0
+          git_version: 2.26.0
           repo_root: .
       name: Git::Push
       version: '2.046'
     -
       class: Dist::Zilla::Plugin::ConfirmRelease
       name: ConfirmRelease
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':InstallModules'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':IncModules'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':TestFiles'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExtraTestFiles'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExecFiles'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':PerlExecFiles'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ShareFiles'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':MainModule'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':AllFiles'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':NoFiles'
-      version: '6.012'
+      version: '6.014'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: MetaProvides::Package/AUTOVIV/:InstallModulesPM
-      version: '6.012'
+      version: '6.014'
   zilla:
     class: Dist::Zilla::Dist::Builder
     config:
       is_trial: '0'
-    version: '6.012'
+    version: '6.014'
 x_authority: cpan:LWWWP
 x_contributors:
   - 'Adam Kennedy <adamk@cpan.org>'
@@ -779,6 +776,7 @@ x_contributors:
   - 'ruff <ruff@ukrpost.net>'
   - 'sasao <sasao@yugen.org>'
   - 'Sean M. Burke <sburke@cpan.org>'
+  - 'Sebastian Paaske Tørholm <Eckankar@gmail.com>'
   - 'Sergey Romanov <sromanov-dev@yandex.ru>'
   - 'Shoichi Kaji <skaji@cpan.org>'
   - 'Slaven Rezic <slaven@rezic.de>'
@@ -801,5 +799,6 @@ x_contributors:
   - 'Yuri Karaban <tech@askold.net>'
   - 'Yury Zavarin <yury.zavarin@gmail.com>'
   - 'Zefram <zefram@fysh.org>'
-x_generated_by_perl: v5.30.0
-x_serialization_backend: 'YAML::Tiny version 1.73'
+x_generated_by_perl: v5.26.1
+x_serialization_backend: 'YAML::Tiny version 1.70'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
index 6475aaa..8fe5afa 100644 (file)
@@ -1,5 +1,5 @@
 # This Makefile.PL for libwww-perl was generated by
-# Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
+# Dist::Zilla::Plugin::MakeMaker::Awesome 0.47.
 # Don't edit it but the dist.ini and plugins used to construct it.
 
 use strict;
@@ -86,7 +86,7 @@ my %WriteMakefileArgs = (
     "Test::Needs" => 0,
     "Test::RequiresInternet" => 0
   },
-  "VERSION" => "6.43",
+  "VERSION" => "6.44",
   "test" => {
     "TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/leak/*.t t/local/*.t t/robot/*.t"
   }
@@ -135,7 +135,7 @@ my %FallbackPrereqs = (
   "warnings" => 0
 );
 
-# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.035
+# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.034
 requires('HTTP::Status', '6.18') if has_module('HTTP::Status', '6.17');
 
 unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
@@ -149,7 +149,7 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
 
 WriteMakefile(%WriteMakefileArgs);
 
-# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.035
+# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.034
 sub _add_prereq {
   my ($mm_key, $module, $version_or_range) = @_;
   $version_or_range ||= 0;
index ddb36fe..ec40d48 100644 (file)
@@ -1,6 +1,6 @@
 package LWP;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require LWP::UserAgent;  # this should load everything you need
 
index 513475f..ee461cc 100644 (file)
@@ -2,13 +2,21 @@ package LWP::Authen::Basic;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
+require Encode;
 require MIME::Base64;
 
 sub auth_header {
-    my($class, $user, $pass) = @_;
-    return "Basic " . MIME::Base64::encode("$user:$pass", "");
+    my($class, $user, $pass, $request, $ua, $h) = @_;
+
+    my $userpass = "$user:$pass";
+    # https://tools.ietf.org/html/rfc7617#section-2.1
+    my $charset = uc($h->{auth_param}->{charset} || "");
+    $userpass = Encode::encode($charset, $userpass)
+        if ($charset eq "UTF-8");
+
+    return "Basic " . MIME::Base64::encode($userpass, "");
 }
 
 sub _reauth_requested {
index 5ed0251..c46ff88 100644 (file)
@@ -3,7 +3,7 @@ package LWP::Authen::Digest;
 use strict;
 use base 'LWP::Authen::Basic';
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require Digest::MD5;
 
index ebe07e2..9e313a9 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Authen::Ntlm;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 use Authen::NTLM "1.02";
 use MIME::Base64 "2.12";
index 240eacf..09bcf60 100644 (file)
@@ -2,7 +2,7 @@ package LWP::ConnCache;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 our $DEBUG;
 
 sub new {
index 7f05c43..7b653b1 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::Debug;    # legacy
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require Exporter;
 our @ISA       = qw(Exporter);
index febd627..1bfc4d1 100644 (file)
@@ -11,7 +11,7 @@ package LWP::Debug::TraceHTTP;
 use strict;
 use base 'LWP::Protocol::http';
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 package # hide from PAUSE
     LWP::Debug::TraceHTTP::Socket;
index 8a931ce..afb1f95 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::DebugFile;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 # legacy stub
 
index f32d27d..6a00486 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::MemberMixin;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 sub _elem {
     my $self = shift;
index d1f03f1..ca8ce3c 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Protocol;
 
 use base 'LWP::MemberMixin';
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 use strict;
 use Carp ();
index 93f1c8a..c3ee041 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 
 use base qw(LWP::Protocol);
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require URI;
 require HTTP::Status;
index fdbdb2f..a75fa7c 100644 (file)
@@ -4,7 +4,7 @@ package LWP::Protocol::data;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require HTTP::Response;
 require HTTP::Status;
index 90c1c1b..1d1ab89 100644 (file)
@@ -4,7 +4,7 @@ use base qw(LWP::Protocol);
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require LWP::MediaTypes;
 require HTTP::Request;
index c6d7529..d1756b1 100644 (file)
@@ -5,7 +5,7 @@ package LWP::Protocol::ftp;
 use base qw(LWP::Protocol);
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 use Carp            ();
 use HTTP::Status    ();
index 3c3f8c9..23705c8 100644 (file)
@@ -9,7 +9,7 @@ package LWP::Protocol::gopher;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require HTTP::Response;
 require HTTP::Status;
index 052b773..c20e44f 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Protocol::http;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require HTTP::Response;
 require HTTP::Status;
index a00a53e..1778bf7 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Protocol::loopback;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require HTTP::Response;
 
index 15a4d40..04be84d 100644 (file)
@@ -11,7 +11,7 @@ require HTTP::Status;
 use Carp;
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 use base qw(LWP::Protocol);
 our $SENDMAIL;
index c667c34..316275f 100644 (file)
@@ -4,7 +4,7 @@ package LWP::Protocol::nntp;
 
 use base qw(LWP::Protocol);
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require HTTP::Response;
 require HTTP::Status;
index 5a9fe05..8927740 100644 (file)
@@ -7,7 +7,7 @@ package LWP::Protocol::nogo;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require HTTP::Response;
 require HTTP::Status;
index 9fe9332..f1967bb 100644 (file)
@@ -2,7 +2,7 @@ package LWP::RobotUA;
 
 use base qw(LWP::UserAgent);
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require WWW::RobotRules;
 require HTTP::Request;
index cf4b4b0..0a19b4e 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Simple;
 
 use strict;
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 require Exporter;
 
index 668d1c0..9fadeb8 100644 (file)
@@ -15,7 +15,7 @@ use LWP::Protocol ();
 use Scalar::Util qw(blessed);
 use Try::Tiny qw(try catch);
 
-our $VERSION = '6.43';
+our $VERSION = '6.44';
 
 sub new
 {
@@ -1893,6 +1893,7 @@ forced to match that of the server.
 The return value is an L<HTTP::Response> object.
 
 =head2 patch
+
     # Any version of HTTP::Message works with this form:
     my $res = $ua->patch( $url, $field_name => $value, Content => $content );
 
index 34174b4..260f1ec 100644 (file)
@@ -63,7 +63,7 @@ sub _test {
     return plan skip_all => 'We could not talk to our daemon' unless $DAEMON;
     return plan skip_all => 'No base URI' unless $base;
 
-    plan tests => 109;
+    plan tests => 125;
 
     my $ua = LWP::UserAgent->new;
     $ua->agent("Mozilla/0.01 " . $ua->agent);
@@ -246,6 +246,34 @@ sub _test {
         isa_ok($res, 'HTTP::Response', 'basicAuth: good response object');
         is($res->code, 401, 'basicAuth: code 401');
     }
+    { # basic auth, UTF-8
+        for my $charset (qw(UTF-8 utf-8)) {
+            my $ident = "basicAuth, charset=$charset";
+            my $req = HTTP::Request->new(GET => url("/basic_utf8?$charset", $base));
+            my $res = MyUA4->new->request($req);
+            isa_ok($res, 'HTTP::Response', "$ident: good response object");
+
+            ok($res->is_success, "$ident: is_success");
+
+            # Let's try with a $ua that does not pass out credentials
+            $ua->{basic_authentication} = undef;
+            $res = $ua->request($req);
+            isa_ok($res, 'HTTP::Response', "$ident: good response object");
+            is($res->code, 401, "$ident: code 401");
+
+            # Let's try to set credentials for this realm
+            $ua->credentials($req->uri->host_port, "libwww-perl-utf8", "ök 12", "xyzzy ÅK€j!");
+            $res = $ua->request($req);
+            isa_ok($res, 'HTTP::Response', "$ident: good response object");
+            ok($res->is_success, "$ident: is_success");
+
+            # Then illegal credentials
+            $ua->credentials($req->uri->host_port, "libwww-perl-utf8", "user", "passwd");
+            $res = $ua->request($req);
+            isa_ok($res, 'HTTP::Response', "$ident: good response object");
+            is($res->code, 401, "$ident: code 401");
+        }
+    }
     { # digest
         my $req = HTTP::Request->new(GET => url("/digest", $base));
         my $res = MyUA2->new->request($req);
@@ -408,6 +436,17 @@ sub _test {
     }
 }
 {
+    package MyUA4;
+    use base 'LWP::UserAgent';
+    sub get_basic_credentials {
+        my($self, $realm, $uri, $proxy) = @_;
+        if ($realm eq "libwww-perl-utf8" && $uri->rel($base)->path eq "basic_utf8") {
+            return ("ök 12", "xyzzy ÅK€j!");
+        }
+        return undef;
+    }
+}
+{
     package MyUA2;
     use base 'LWP::UserAgent';
     sub get_basic_credentials {
@@ -451,6 +490,23 @@ sub daemonize {
             $c->send_crlf;
         }
     };
+    $router{get_basic_utf8} = sub {
+        my($c, $r) = @_;
+        my($u,$p) = $r->authorization_basic;
+        if (defined($u) && utf8::decode($u) && utf8::decode($p) && $u eq 'ök 12' && $p eq 'xyzzy ÅK€j!') {
+            $c->send_basic_header(200);
+            $c->print("Content-Type: text/plain");
+            $c->send_crlf;
+            $c->send_crlf;
+            $c->print("$u\n");
+        }
+        else {
+            my $charset = $r->uri->query;
+            $c->send_basic_header(401);
+            $c->print("WWW-Authenticate: Basic realm=\"libwww-perl-utf8\", charset=\"$charset\"\015\012");
+            $c->send_crlf;
+        }
+    };
     $router{get_digest} = sub {
         my($c, $r) = @_;
         my $auth = $r->authorization;
index bed9e18..6af92e0 100644 (file)
@@ -1,6 +1,6 @@
-use strict;
-use warnings;
+#!perl
 
 use Test::More;
+
 use Test::MinimumVersion;
 all_minimum_version_from_metayml_ok();
index 48889e1..e7fae10 100644 (file)
@@ -67,6 +67,7 @@ Dunkin
 Durechova
 Duret
 Dvornik
+Eckankar
 Eldridge
 Etheridge
 FWILES
@@ -195,6 +196,7 @@ Ondrej
 Onken
 Oosten
 Oschwald
+Paaske
 Panchenko
 Patrik
 Peter
@@ -223,6 +225,7 @@ Schilli
 Schinder
 Schwern
 Sean
+Sebastian
 Sergey
 Shirazi
 Shoichi
@@ -260,6 +263,7 @@ Tony
 Toru
 Tourbin
 TraceHTTP
+Tørholm
 UA
 Ugai
 Ullrich
index ff81647..4e8e37b 100644 (file)
@@ -8,7 +8,7 @@ if (($ENV{TRAVIS_PULL_REQUEST} || '') eq 'false') {
 
 note 'Checking Changes';
 my $changes_file = 'Changes';
-my $newver = '6.43';
+my $newver = '6.44';
 my $trial_token = '-TRIAL';
 my $encoding = 'UTF-8';