Change history for libwww-perl
+6.58 2021-10-25 20:40:59Z
+ - Add a test for "response_redirect" (GH#387) (James Raspass)
+ - Improve documentation readability (GH#388) (Julien Fiegehenn)
+ - Replace remaining uses of "base" with "parent" (GH#389) (James Raspass)
+
6.57 2021-09-20 20:20:14Z
- Update docs for protocols_allowed and protocols forbidden (GH#386) (Olaf Alders)
## Manual installation
-As a last resort, you can manually install it. Download the tarball, untar it,
-install configure prerequisites (see below), then build it:
+As a last resort, you can manually install it. If you have not already
+downloaded the release tarball, you can find the download link on the module's
+MetaCPAN page: https://metacpan.org/pod/LWP
+
+Untar the tarball, install configure prerequisites (see below), then build it:
% perl Makefile.PL
% make && make test
- "Package" refers to the collection of files distributed by the Copyright
Holder, and derivatives of that collection of files created through
- textual modification.
+ textual modification.
- "Standard Version" refers to such a Package if it has not been modified,
or has been modified in accordance with the wishes of the Copyright
- Holder.
+ Holder.
- "Copyright Holder" is whoever is named in the copyright or copyrights for
- the package.
+ the package.
- "You" is you, if you're thinking about copying or distributing this Package.
- "Reasonable copying fee" is whatever you can justify on the basis of media
cost, duplication charges, time of people involved, and so on. (You will
not be required to justify it to the Copyright Holder, but only to the
- computing community at large as a market that must bear the fee.)
+ computing community at large as a market that must bear the fee.)
- "Freely Available" means that no fee is charged for the item itself, though
there may be fees involved in handling the item. It also means that
recipients of the item may redistribute it under the same conditions they
- received it.
+ received it.
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The End
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024.
CONTRIBUTING.md
Changes
INSTALL
"Gisle Aas <gisle@activestate.com>"
],
"dynamic_config" : 1,
- "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"URI" : "1.10",
"URI::Escape" : "0",
"WWW::RobotRules" : "6",
- "base" : "0",
+ "parent" : "0.217",
"perl" : "5.008001",
"strict" : "0",
"warnings" : "0"
"provides" : {
"LWP" : {
"file" : "lib/LWP.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Authen::Basic" : {
"file" : "lib/LWP/Authen/Basic.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Authen::Digest" : {
"file" : "lib/LWP/Authen/Digest.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Authen::Ntlm" : {
"file" : "lib/LWP/Authen/Ntlm.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::ConnCache" : {
"file" : "lib/LWP/ConnCache.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Debug" : {
"file" : "lib/LWP/Debug.pm",
- "version" : "6.57",
+ "version" : "6.58",
"x_deprecated" : 1
},
"LWP::Debug::TraceHTTP" : {
"file" : "lib/LWP/Debug/TraceHTTP.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::DebugFile" : {
"file" : "lib/LWP/DebugFile.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::MemberMixin" : {
"file" : "lib/LWP/MemberMixin.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol" : {
"file" : "lib/LWP/Protocol.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::cpan" : {
"file" : "lib/LWP/Protocol/cpan.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::data" : {
"file" : "lib/LWP/Protocol/data.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::file" : {
"file" : "lib/LWP/Protocol/file.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::ftp" : {
"file" : "lib/LWP/Protocol/ftp.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::gopher" : {
"file" : "lib/LWP/Protocol/gopher.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::http" : {
"file" : "lib/LWP/Protocol/http.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::loopback" : {
"file" : "lib/LWP/Protocol/loopback.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::mailto" : {
"file" : "lib/LWP/Protocol/mailto.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::nntp" : {
"file" : "lib/LWP/Protocol/nntp.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Protocol::nogo" : {
"file" : "lib/LWP/Protocol/nogo.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::RobotUA" : {
"file" : "lib/LWP/RobotUA.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::Simple" : {
"file" : "lib/LWP/Simple.pm",
- "version" : "6.57"
+ "version" : "6.58"
},
"LWP::UserAgent" : {
"file" : "lib/LWP/UserAgent.pm",
- "version" : "6.57"
+ "version" : "6.58"
}
},
"release_status" : "stable",
"x_IRC" : "irc://irc.perl.org/#lwp",
"x_MailingList" : "mailto:libwww@perl.org"
},
- "version" : "6.57",
+ "version" : "6.58",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.026001"
}
},
"name" : "Git::GatherDir",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "MetaConfig",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.017"
+ "version" : "6.024"
}
],
"include_underscores" : 0
{
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "MetaNoIndex",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "MetaYAML",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "MetaJSON",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Deprecated",
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.33.0",
+ "git_version" : "2.33.1",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "Manifest",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "License",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::InstallGuide",
}
},
"name" : "InstallGuide",
- "version" : "1.200013"
+ "version" : "1.200014"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "ExecDir",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs::FromCPANfile",
"config" : {
"Dist::Zilla::Plugin::MakeMaker" : {
"make_path" : "make",
- "version" : "6.017"
+ "version" : "6.024"
},
"Dist::Zilla::Role::TestRunner" : {
"default_jobs" : "1",
- "version" : "6.017"
+ "version" : "6.024"
}
},
"name" : "MakeMaker::Awesome",
- "version" : "0.48"
+ "version" : "0.49"
},
{
"class" : "Dist::Zilla::Plugin::MojibakeTests",
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "PodSyntaxTests",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable",
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.33.0",
+ "git_version" : "2.33.1",
"repo_root" : "."
}
},
"name" : "Git::Check",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::CheckStrictVersion",
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "TestRelease",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "UploadToCPAN",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
}
},
"name" : "@Git::VersionManager/pluginbundle version",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional",
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.33.0",
+ "git_version" : "2.33.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
}
},
"name" : "@Git::VersionManager/release snapshot",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v6.57",
+ "tag" : "v6.58",
"tag_format" : "v%V",
"tag_message" : "v%V"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.33.0",
+ "git_version" : "2.33.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
}
},
"name" : "@Git::VersionManager/Git::Tag",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional",
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Git::VersionManager/NextRelease",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.33.0",
+ "git_version" : "2.33.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
}
},
"name" : "@Git::VersionManager/post-release commit",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.33.0",
+ "git_version" : "2.33.1",
"repo_root" : "."
}
},
"name" : "Git::Push",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "ConfirmRelease",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.017"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.017"
+ "version" : "6.024"
}
],
"zilla" : {
"config" : {
"is_trial" : 0
},
- "version" : "6.017"
+ "version" : "6.024"
}
},
"x_contributors" : [
Getopt::Long: '0'
Module::Metadata: '0'
dynamic_config: 1
-generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
provides:
LWP:
file: lib/LWP.pm
- version: '6.57'
+ version: '6.58'
LWP::Authen::Basic:
file: lib/LWP/Authen/Basic.pm
- version: '6.57'
+ version: '6.58'
LWP::Authen::Digest:
file: lib/LWP/Authen/Digest.pm
- version: '6.57'
+ version: '6.58'
LWP::Authen::Ntlm:
file: lib/LWP/Authen/Ntlm.pm
- version: '6.57'
+ version: '6.58'
LWP::ConnCache:
file: lib/LWP/ConnCache.pm
- version: '6.57'
+ version: '6.58'
LWP::Debug:
file: lib/LWP/Debug.pm
- version: '6.57'
+ version: '6.58'
x_deprecated: 1
LWP::Debug::TraceHTTP:
file: lib/LWP/Debug/TraceHTTP.pm
- version: '6.57'
+ version: '6.58'
LWP::DebugFile:
file: lib/LWP/DebugFile.pm
- version: '6.57'
+ version: '6.58'
LWP::MemberMixin:
file: lib/LWP/MemberMixin.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol:
file: lib/LWP/Protocol.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::cpan:
file: lib/LWP/Protocol/cpan.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::data:
file: lib/LWP/Protocol/data.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::file:
file: lib/LWP/Protocol/file.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::ftp:
file: lib/LWP/Protocol/ftp.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::gopher:
file: lib/LWP/Protocol/gopher.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::http:
file: lib/LWP/Protocol/http.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::loopback:
file: lib/LWP/Protocol/loopback.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::mailto:
file: lib/LWP/Protocol/mailto.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::nntp:
file: lib/LWP/Protocol/nntp.pm
- version: '6.57'
+ version: '6.58'
LWP::Protocol::nogo:
file: lib/LWP/Protocol/nogo.pm
- version: '6.57'
+ version: '6.58'
LWP::RobotUA:
file: lib/LWP/RobotUA.pm
- version: '6.57'
+ version: '6.58'
LWP::Simple:
file: lib/LWP/Simple.pm
- version: '6.57'
+ version: '6.58'
LWP::UserAgent:
file: lib/LWP/UserAgent.pm
- version: '6.57'
+ version: '6.58'
requires:
Digest::MD5: '0'
Encode: '2.12'
URI: '1.10'
URI::Escape: '0'
WWW::RobotRules: '6'
- base: '0'
+ parent: '0.217'
perl: '5.008001'
strict: '0'
warnings: '0'
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.57'
+version: '6.58'
x_Dist_Zilla:
perl:
version: '5.026001'
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: Git::GatherDir
- version: '2.047'
+ version: '2.048'
-
class: Dist::Zilla::Plugin::MetaConfig
name: MetaConfig
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
-
class: Dist::Zilla::Plugin::FinderCode
name: MetaProvides::Package/AUTOVIV/:InstallModulesPM
- version: '6.017'
+ version: '6.024'
include_underscores: 0
Dist::Zilla::Role::MetaProvider::Provider:
$Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004'
-
class: Dist::Zilla::Plugin::MetaNoIndex
name: MetaNoIndex
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::MetaYAML
name: MetaYAML
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::MetaJSON
name: MetaJSON
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::Deprecated
config:
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.33.0
+ git_version: 2.33.1
include_authors: 0
include_releaser: 1
order_by: name
-
class: Dist::Zilla::Plugin::Manifest
name: Manifest
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::License
name: License
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::InstallGuide
config:
Module::Metadata: '1.000037'
version: '0.004'
name: InstallGuide
- version: '1.200013'
+ version: '1.200014'
-
class: Dist::Zilla::Plugin::ExecDir
name: ExecDir
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::Prereqs::FromCPANfile
name: Prereqs::FromCPANfile
config:
Dist::Zilla::Plugin::MakeMaker:
make_path: make
- version: '6.017'
+ version: '6.024'
Dist::Zilla::Role::TestRunner:
default_jobs: '1'
- version: '6.017'
+ version: '6.024'
name: MakeMaker::Awesome
- version: '0.48'
+ version: '0.49'
-
class: Dist::Zilla::Plugin::MojibakeTests
name: MojibakeTests
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: PodSyntaxTests
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable
name: Test::Pod::Coverage::Configurable
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.33.0
+ git_version: 2.33.1
repo_root: .
name: Git::Check
- version: '2.047'
+ version: '2.048'
-
class: Dist::Zilla::Plugin::CheckStrictVersion
name: CheckStrictVersion
-
class: Dist::Zilla::Plugin::TestRelease
name: TestRelease
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: UploadToCPAN
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
config:
phase: develop
type: recommends
name: '@Git::VersionManager/pluginbundle version'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::RewriteVersion::Transitional
config:
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.33.0
+ git_version: 2.33.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Git::VersionManager/release snapshot'
- version: '2.047'
+ version: '2.048'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
branch: ~
changelog: Changes
signed: 0
- tag: v6.57
+ tag: v6.58
tag_format: v%V
tag_message: v%V
Dist::Zilla::Role::Git::Repo:
- git_version: 2.33.0
+ git_version: 2.33.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Git::VersionManager/Git::Tag'
- version: '2.047'
+ version: '2.048'
-
class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional
config:
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Git::VersionManager/NextRelease'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
- (?^:^lib/.*\.pm$)
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.33.0
+ git_version: 2.33.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Git::VersionManager/post-release commit'
- version: '2.047'
+ version: '2.048'
-
class: Dist::Zilla::Plugin::Git::Push
config:
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.33.0
+ git_version: 2.33.1
repo_root: .
name: Git::Push
- version: '2.047'
+ version: '2.048'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: ConfirmRelease
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '6.017'
+ version: '6.024'
-
class: Dist::Zilla::Plugin::FinderCode
name: MetaProvides::Package/AUTOVIV/:InstallModulesPM
- version: '6.017'
+ version: '6.024'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '6.017'
+ version: '6.024'
x_contributors:
- 'Adam Kennedy <adamk@cpan.org>'
- 'Adam Sjogren <asjo@koldfront.dk>'
# This Makefile.PL for libwww-perl was generated by
-# Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
+# Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
# Don't edit it but the dist.ini and plugins used to construct it.
use strict;
"URI" => "1.10",
"URI::Escape" => 0,
"WWW::RobotRules" => 6,
- "base" => 0,
+ "parent" => "0.217",
"strict" => 0,
"warnings" => 0
},
"Test::Needs" => 0,
"Test::RequiresInternet" => 0
},
- "VERSION" => "6.57",
+ "VERSION" => "6.58",
"test" => {
"TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/leak/*.t t/local/*.t t/robot/*.t"
}
"URI" => "1.10",
"URI::Escape" => 0,
"WWW::RobotRules" => 6,
- "base" => 0,
+ "parent" => "0.217",
"strict" => 0,
"warnings" => 0
);
use strict;
use warnings;
- use base qw(LWP::UserAgent);
+ use parent qw(LWP::UserAgent);
sub new {
my $self = LWP::UserAgent::new(@_);
requires 'perl' => '5.008001';
requires 'strict';
requires 'warnings';
- requires 'base';
+ requires 'parent' => '0.217';
requires 'Digest::MD5';
requires 'Encode' => '2.12';
requires 'Encode::Locale';
package LWP;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require LWP::UserAgent; # this should load everything you need
section tries to describe what that means.
Let us start with this quote from the HTTP specification document
-<URL:http://www.w3.org/Protocols/>:
+L<http://www.w3.org/Protocols/>:
=over 3
=item *
B<parse_head> specifies whether we should initialize response
-headers from the E<lt>head> section of HTML documents.
+headers from the C<< <head> >> section of HTML documents.
=item *
B<proxy> and B<no_proxy> specify if and when to go through
-a proxy server. <URL:http://www.w3.org/History/1994/WWW/Proxies/>
+a proxy server. L<http://www.w3.org/History/1994/WWW/Proxies/>
=item *
print $res->status_line, "\n";
}
-The $ua is created once when the application starts up. New request
+The C<$ua> is created once when the application starts up. New request
objects should normally created for each request sent.
the HTTP style methods that headers may be used for each.
For all requests, a "User-Agent" header is added and initialized from
-the $ua->agent attribute before the request is handed to the network
+the C<< $ua->agent >> attribute before the request is handed to the network
layer. In the same way, a "From" header is initialized from the
$ua->from attribute.
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require Encode;
require MIME::Base64;
package LWP::Authen::Digest;
use strict;
-use base 'LWP::Authen::Basic';
+use parent 'LWP::Authen::Basic';
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require Digest::MD5;
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
use Authen::NTLM "1.02";
use MIME::Base64 "2.12";
NTLM module.
In addition, there have been problems with incompatibilities between different
-versions of Mime::Base64, which Bush's Authen::NTLM makes use of. Therefore, it is
+versions of L<Mime::Base64>, which Bush's L<Authen::NTLM> makes use of. Therefore, it is
necessary to ensure that your Mime::Base64 module supports exporting of the
-encode_base64 and decode_base64 functions.
+C<encode_base64> and C<decode_base64> functions.
=head1 USAGE
Enable persistent HTTP connections
-To do this, pass the "keep_alive=>1" option to the LWP::UserAgent when creating it, like this:
+To do this, pass the C<< "keep_alive=>1" >> option to the L<LWP::UserAgent> when creating it, like this:
my $ua = LWP::UserAgent->new(keep_alive=>1);
$ua->credentials('www.company.com:80', '', "MyDomain\\MyUserCode", 'MyPassword');
-Note that you cannot use the HTTP::Request object's authorization_basic() method to set
-the credentials. Note, too, that the 'www.company.com:80' portion only sets credentials
+Note that you cannot use the L<HTTP::Request> object's C<authorization_basic()> method to set
+the credentials. Note, too, that the C<'www.company.com:80'> portion only sets credentials
on the specified port AND it is case-sensitive (this is due to the way LWP is coded, and
has nothing to do with LWP::Authen::Ntlm)
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
our $DEBUG;
sub new {
Get/set a limit for the number of connections of the specified type
that can be cached. The first parameter is a short string like
-"http" or "ftp".
+C<"http"> or C<"ftp">.
=head2 drop
Drop connections by some criteria. The $checker argument is a
subroutine that is called for each connection. If the routine returns
a TRUE value then the connection is dropped. The routine is called
-with ($conn, $type, $key, $deposit_time) as arguments.
+with C<($conn, $type, $key, $deposit_time)> as arguments.
-Shortcuts: If the $checker argument is absent (or C<undef>) all cached
+Shortcuts: If the C<$checker> argument is absent (or C<undef>) all cached
connections are dropped. If the $checker is a number then all
connections untouched that the given number of seconds or more are
dropped. If $checker is a string then all connections of the given
package LWP::Debug; # legacy
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require Exporter;
our @ISA = qw(Exporter);
# programs that use LWP.
use strict;
-use base 'LWP::Protocol::http';
+use parent 'LWP::Protocol::http';
-our $VERSION = '6.57';
+our $VERSION = '6.58';
package # hide from PAUSE
LWP::Debug::TraceHTTP::Socket;
package LWP::DebugFile;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
# legacy stub
package LWP::MemberMixin;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
sub _elem {
my $self = shift;
=head1 SYNOPSIS
package Foo;
- use base qw(LWP::MemberMixin);
+ use parent qw(LWP::MemberMixin);
=head1 DESCRIPTION
package LWP::Protocol;
-use base 'LWP::MemberMixin';
+use parent 'LWP::MemberMixin';
-our $VERSION = '6.57';
+our $VERSION = '6.58';
use strict;
use Carp ();
=head1 SYNOPSIS
package LWP::Protocol::foo;
- use base qw(LWP::Protocol);
+ use parent qw(LWP::Protocol);
=head1 DESCRIPTION
L<LWP::Protocol/create> function calls the constructor for one of its
subclasses.
-All derived C<LWP::Protocol> classes need to override the request()
+All derived C<LWP::Protocol> classes need to override the C<request()>
method which is used to service a request. The overridden method can
-make use of the collect() function to collect together chunks of data
+make use of the C<collect()> method to collect together chunks of data
as it is received.
=head1 METHODS
use strict;
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require URI;
require HTTP::Status;
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require HTTP::Response;
require HTTP::Status;
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
use HTTP::Date qw(time2str);
require LWP; # needs version number
package LWP::Protocol::file;
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require LWP::MediaTypes;
require HTTP::Request;
# Implementation of the ftp protocol (RFC 959). We let the Net::FTP
# package do all the dirty work.
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
use Carp ();
use HTTP::Status ();
LWP::Protocol::MyFTP;
use strict;
- use base qw(Net::FTP);
+ use parent qw(Net::FTP);
sub new {
my $class = shift;
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require HTTP::Response;
require HTTP::Status;
require IO::Socket;
require IO::Select;
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
my %gopher2mimetype = (
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require HTTP::Response;
require HTTP::Status;
require Net::HTTP;
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
our @EXTRA_SOCK_OPTS;
my $CRLF = "\015\012";
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require HTTP::Response;
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
sub request {
my($self, $request, $proxy, $arg, $size, $timeout) = @_;
use Carp;
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
our $SENDMAIL;
unless ($SENDMAIL = $ENV{SENDMAIL}) {
# Implementation of the Network News Transfer Protocol (RFC 977)
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require HTTP::Response;
require HTTP::Status;
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
sub request {
my($self, $request) = @_;
package LWP::RobotUA;
-use base qw(LWP::UserAgent);
+use parent qw(LWP::UserAgent);
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require WWW::RobotRules;
require HTTP::Request;
and they should not make requests too frequently.
But before you consider writing a robot, take a look at
-L<URL:http://www.robotstxt.org/>.
+L<http://www.robotstxt.org/>.
When you use an I<LWP::RobotUA> object as your user agent, then you do not
really have to think about these things yourself; C<robots.txt> files
The LWP::UserAgent options C<agent> and C<from> are mandatory. The
options C<delay>, C<use_sleep> and C<rules> initialize attributes
private to the RobotUA. If C<rules> are not provided, then
-C<WWW::RobotRules> is instantiated providing an internal database of
+L<WWW::RobotRules> is instantiated providing an internal database of
F<robots.txt>.
It is also possible to just pass the value of C<agent>, C<from> and
use strict;
-our $VERSION = '6.57';
+our $VERSION = '6.58';
require Exporter;
use strict;
-use base qw(LWP::MemberMixin);
+use parent qw(LWP::MemberMixin);
use Carp ();
use HTTP::Request ();
use Scalar::Util qw(blessed);
use Try::Tiny qw(try catch);
-our $VERSION = '6.57';
+our $VERSION = '6.58';
sub new
{
an C<owner> field to the C<%matchspec> that holds the name of the called
subroutine. You might pass an explicit C<owner> to override this.
-If $cb is passed as C<undef>, remove the handler.
+If C<$cb> is passed as C<undef>, remove the handler.
=head1 REQUEST METHODS
headers and content options are the same as for the L<LWP::UserAgent/get>
method.
-This method will use the DELETE() function from L<HTTP::Request::Common>
+This method will use the C<DELETE()> function from L<HTTP::Request::Common>
to build the request. See L<HTTP::Request::Common> for a details on
how to pass form content and other advanced features.
':content_cb' => \&callback
':read_size_hint' => $bytes
-If a $filename is provided with the C<:content_file> option, then the
+If a C<$filename> is provided with the C<:content_file> option, then the
response content will be saved here instead of in the response
object. If a callback is provided with the C<:content_cb> option then
this function will be called for each chunk of the response content as
The callback function is called with 3 arguments: a chunk of data, a
reference to the response object, and a reference to the protocol
-object. The callback can abort the request by invoking die(). The
+object. The callback can abort the request by invoking C<die()>. The
exception message will show up as the "X-Died" header field in the
-response returned by the get() function.
+response returned by the C<< $ua->get() >> method.
=head2 head
'URI' => '1.10',
'URI::Escape' => '0',
'WWW::RobotRules' => '6',
- 'base' => '0',
+ 'parent' => '0.217',
'perl' => '5.008001',
'strict' => '0',
'warnings' => '0'
delete $ENV{PERL_LWP_SSL_CA_PATH};
delete $ENV{PERL_LWP_ENV_PROXY};
-my $ua = LWP::UserAgent->new;
-$ua->add_handler(
- request_send => sub {
- my ($request, $ua, $handler) = @_;
- return HTTP::Response->new(200,'OK',[],'ok');
- }
-);
+sub ua {
+ my $ua = LWP::UserAgent->new;
+ $ua->add_handler(
+ request_send => sub {
+ my ($request, $ua, $handler) = @_;
+ return HTTP::Response->new(200,'OK',[],'ok');
+ }
+ );
+ return $ua;
+}
subtest 'request_send' => sub {
+ my $ua = ua;
my $res = $ua->get('http://www.example.com');
ok($res->is_success, 'handler should succeed');
is($res->content,'ok','handler-provided response should be used');
};
subtest 'request_prepare' => sub {
+ my $ua = ua;
$ua->add_handler(
request_prepare => sub {
# the docs say this is the way to replace the request
'the request should have been modified by the handler');
};
+subtest 'response_redirect' => sub {
+ my $ua = ua;
+ $ua->add_handler(
+ response_redirect => sub {
+ return HTTP::Request->new(PUT => 'http://put.example.com');
+ }
+ );
+ my $res = $ua->get('http://www.example.com');
+ my $effective_request = $res->request;
+ is($effective_request->method,'PUT',
+ 'the request should have been replaced by the handler');
+ is($effective_request->uri,'http://put.example.com',
+ 'the request should have been replaced by the handler');
+};
+
done_testing;
{
package MyUA;
- use base 'LWP::UserAgent';
+ use parent 'LWP::UserAgent';
sub get_basic_credentials {
my($self, $realm, $uri, $proxy) = @_;
if ($realm eq "libwww-perl" && $uri->rel($base) eq "basic") {
}
{
package MyUA4;
- use base 'LWP::UserAgent';
+ use parent 'LWP::UserAgent';
sub get_basic_credentials {
my($self, $realm, $uri, $proxy) = @_;
if ($realm eq "libwww-perl-utf8" && $uri->rel($base)->path eq "basic_utf8") {
}
{
package MyUA2;
- use base 'LWP::UserAgent';
+ use parent 'LWP::UserAgent';
sub get_basic_credentials {
my($self, $realm, $uri, $proxy) = @_;
if ($realm eq "libwww-perl-digest" && $uri->rel($base) eq "digest") {
}
{
package MyUA3;
- use base 'LWP::UserAgent';
+ use parent 'LWP::UserAgent';
sub get_basic_credentials {
my($self, $realm, $uri, $proxy) = @_;
return ("irrelevant", "xyzzy");
{
package myhttp;
- use base 'LWP::Protocol::http';
+ use parent 'LWP::Protocol::http';
sub _conn_class {
"myconn";
}
{
package myhttp::Socket;
- use base qw(myhttp::SocketMethods Net::HTTP);
+ use parent -norequire => qw(myhttp::SocketMethods);
+ use parent qw(Net::HTTP);
}
{
package myhttp;
- use base 'LWP::Protocol';
+ use parent 'LWP::Protocol';
use Test::More;
sub new {
{
package MyUA;
- use base 'LWP::UserAgent';
+ use parent 'LWP::UserAgent';
my @try = (['foo', 'bar'], ['', ''], ['guest', ''], ['guest', 'guest']);
{
package MyUA;
- use base 'LWP::UserAgent';
+ use parent 'LWP::UserAgent';
my @try = (['foo', 'bar'], ['', ''], ['guest', ''], ['guest', 'guest']);
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '6.57';
+my $newver = '6.58';
my $trial_token = '-TRIAL';
my $encoding = 'UTF-8';