Change history for libwww-perl
+6.41 2019-10-28 14:42:06Z
+ - Allow mirroring to files called '0' (GH#329) (Mark Fowler)
+
6.40 2019-10-24 12:55:45Z
- Let Digest authentication act on nonce expiry (GH#313) (Frank Maas)
- Make file arg for mirror mandatory #304 (GH#326) (Julien Fiegehenn)
"provides" : {
"LWP" : {
"file" : "lib/LWP.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Authen::Basic" : {
"file" : "lib/LWP/Authen/Basic.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Authen::Digest" : {
"file" : "lib/LWP/Authen/Digest.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Authen::Ntlm" : {
"file" : "lib/LWP/Authen/Ntlm.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::ConnCache" : {
"file" : "lib/LWP/ConnCache.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Debug" : {
"file" : "lib/LWP/Debug.pm",
- "version" : "6.40",
+ "version" : "6.41",
"x_deprecated" : 1
},
"LWP::Debug::TraceHTTP" : {
"file" : "lib/LWP/Debug/TraceHTTP.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::DebugFile" : {
"file" : "lib/LWP/DebugFile.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::MemberMixin" : {
"file" : "lib/LWP/MemberMixin.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol" : {
"file" : "lib/LWP/Protocol.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::cpan" : {
"file" : "lib/LWP/Protocol/cpan.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::data" : {
"file" : "lib/LWP/Protocol/data.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::file" : {
"file" : "lib/LWP/Protocol/file.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::ftp" : {
"file" : "lib/LWP/Protocol/ftp.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::gopher" : {
"file" : "lib/LWP/Protocol/gopher.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::http" : {
"file" : "lib/LWP/Protocol/http.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::loopback" : {
"file" : "lib/LWP/Protocol/loopback.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::mailto" : {
"file" : "lib/LWP/Protocol/mailto.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::nntp" : {
"file" : "lib/LWP/Protocol/nntp.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Protocol::nogo" : {
"file" : "lib/LWP/Protocol/nogo.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::RobotUA" : {
"file" : "lib/LWP/RobotUA.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::Simple" : {
"file" : "lib/LWP/Simple.pm",
- "version" : "6.40"
+ "version" : "6.41"
},
"LWP::UserAgent" : {
"file" : "lib/LWP/UserAgent.pm",
- "version" : "6.40"
+ "version" : "6.41"
}
},
"release_status" : "stable",
"x_IRC" : "irc://irc.perl.org/#lwp",
"x_MailingList" : "mailto:libwww@perl.org"
},
- "version" : "6.40",
+ "version" : "6.41",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.030000"
"meta_noindex" : 1
},
"Dist::Zilla::Role::ModuleMetadata" : {
- "Module::Metadata" : "1.000036",
+ "Module::Metadata" : "1.000037",
"version" : "0.006"
}
},
"class" : "Dist::Zilla::Plugin::InstallGuide",
"config" : {
"Dist::Zilla::Role::ModuleMetadata" : {
- "Module::Metadata" : "1.000036",
+ "Module::Metadata" : "1.000037",
"version" : "0.006"
}
},
"class" : "Dist::Zilla::Plugin::DynamicPrereqs",
"config" : {
"Dist::Zilla::Role::ModuleMetadata" : {
- "Module::Metadata" : "1.000036",
+ "Module::Metadata" : "1.000037",
"version" : "0.006"
}
},
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v6.40",
+ "tag" : "v6.41",
"tag_format" : "v%V",
"tag_message" : "v%V"
},
"Karen Etheridge <ether@cpan.org>",
"Katarina Durechova <katarina.durechova@nic.cz>",
"leedo <leedo@users.noreply.github.com>",
+ "Mark Fowler <mark@twoshortplanks.com>",
"Mark Stosberg <mark@stosberg.com>",
"Martin H. Sluka <martin@sluka.de>",
"Matthew Horsfall <wolfsage@gmail.com>",
provides:
LWP:
file: lib/LWP.pm
- version: '6.40'
+ version: '6.41'
LWP::Authen::Basic:
file: lib/LWP/Authen/Basic.pm
- version: '6.40'
+ version: '6.41'
LWP::Authen::Digest:
file: lib/LWP/Authen/Digest.pm
- version: '6.40'
+ version: '6.41'
LWP::Authen::Ntlm:
file: lib/LWP/Authen/Ntlm.pm
- version: '6.40'
+ version: '6.41'
LWP::ConnCache:
file: lib/LWP/ConnCache.pm
- version: '6.40'
+ version: '6.41'
LWP::Debug:
file: lib/LWP/Debug.pm
- version: '6.40'
+ version: '6.41'
x_deprecated: 1
LWP::Debug::TraceHTTP:
file: lib/LWP/Debug/TraceHTTP.pm
- version: '6.40'
+ version: '6.41'
LWP::DebugFile:
file: lib/LWP/DebugFile.pm
- version: '6.40'
+ version: '6.41'
LWP::MemberMixin:
file: lib/LWP/MemberMixin.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol:
file: lib/LWP/Protocol.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::cpan:
file: lib/LWP/Protocol/cpan.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::data:
file: lib/LWP/Protocol/data.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::file:
file: lib/LWP/Protocol/file.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::ftp:
file: lib/LWP/Protocol/ftp.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::gopher:
file: lib/LWP/Protocol/gopher.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::http:
file: lib/LWP/Protocol/http.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::loopback:
file: lib/LWP/Protocol/loopback.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::mailto:
file: lib/LWP/Protocol/mailto.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::nntp:
file: lib/LWP/Protocol/nntp.pm
- version: '6.40'
+ version: '6.41'
LWP::Protocol::nogo:
file: lib/LWP/Protocol/nogo.pm
- version: '6.40'
+ version: '6.41'
LWP::RobotUA:
file: lib/LWP/RobotUA.pm
- version: '6.40'
+ version: '6.41'
LWP::Simple:
file: lib/LWP/Simple.pm
- version: '6.40'
+ version: '6.41'
LWP::UserAgent:
file: lib/LWP/UserAgent.pm
- version: '6.40'
+ version: '6.41'
requires:
Digest::MD5: '0'
Encode: '2.12'
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.40'
+version: '6.41'
x_Dist_Zilla:
perl:
version: '5.030000'
inherit_version: '1'
meta_noindex: '1'
Dist::Zilla::Role::ModuleMetadata:
- Module::Metadata: '1.000036'
+ Module::Metadata: '1.000037'
version: '0.006'
name: MetaProvides::Package
version: '2.004003'
class: Dist::Zilla::Plugin::InstallGuide
config:
Dist::Zilla::Role::ModuleMetadata:
- Module::Metadata: '1.000036'
+ Module::Metadata: '1.000037'
version: '0.006'
name: InstallGuide
version: '1.200013'
class: Dist::Zilla::Plugin::DynamicPrereqs
config:
Dist::Zilla::Role::ModuleMetadata:
- Module::Metadata: '1.000036'
+ Module::Metadata: '1.000037'
version: '0.006'
name: DynamicPrereqs
version: '0.035'
branch: ~
changelog: Changes
signed: 0
- tag: v6.40
+ tag: v6.41
tag_format: v%V
tag_message: v%V
Dist::Zilla::Role::Git::Repo:
- 'Karen Etheridge <ether@cpan.org>'
- 'Katarina Durechova <katarina.durechova@nic.cz>'
- 'leedo <leedo@users.noreply.github.com>'
+ - 'Mark Fowler <mark@twoshortplanks.com>'
- 'Mark Stosberg <mark@stosberg.com>'
- 'Martin H. Sluka <martin@sluka.de>'
- 'Matthew Horsfall <wolfsage@gmail.com>'
"Test::Needs" => 0,
"Test::RequiresInternet" => 0
},
- "VERSION" => "6.40",
+ "VERSION" => "6.41",
"test" => {
"TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/leak/*.t t/local/*.t t/robot/*.t"
}
package LWP;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require LWP::UserAgent; # this should load everything you need
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require MIME::Base64;
use strict;
use base 'LWP::Authen::Basic';
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require Digest::MD5;
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
use Authen::NTLM "1.02";
use MIME::Base64 "2.12";
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
our $DEBUG;
sub new {
package LWP::Debug; # legacy
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require Exporter;
our @ISA = qw(Exporter);
use strict;
use base 'LWP::Protocol::http';
-our $VERSION = '6.40';
+our $VERSION = '6.41';
package # hide from PAUSE
LWP::Debug::TraceHTTP::Socket;
package LWP::DebugFile;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
# legacy stub
package LWP::MemberMixin;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
sub _elem {
my $self = shift;
use base 'LWP::MemberMixin';
-our $VERSION = '6.40';
+our $VERSION = '6.41';
use strict;
use Carp ();
use base qw(LWP::Protocol);
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require URI;
require HTTP::Status;
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require LWP::MediaTypes;
require HTTP::Request;
use base qw(LWP::Protocol);
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
use Carp ();
use HTTP::Status ();
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require HTTP::Response;
use Carp;
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
use base qw(LWP::Protocol);
our $SENDMAIL;
use base qw(LWP::Protocol);
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require HTTP::Response;
require HTTP::Status;
use base qw(LWP::UserAgent);
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require WWW::RobotRules;
require HTTP::Request;
use strict;
-our $VERSION = '6.40';
+our $VERSION = '6.41';
require Exporter;
use Scalar::Util qw(blessed);
use Try::Tiny qw(try catch);
-our $VERSION = '6.40';
+our $VERSION = '6.41';
sub new
{
{
my($self, $url, $file) = @_;
- die "Local file name is missing" unless $file;
+ die "Local file name is missing" unless defined $file && length $file;
my $request = HTTP::Request->new('GET', $url);
return plan skip_all => 'We could not talk to our daemon' unless $DAEMON;
return plan skip_all => 'No base URI' unless $base;
- plan tests => 94;
+ plan tests => 96;
my $ua = LWP::UserAgent->new;
$ua->agent("Mozilla/0.01 " . $ua->agent);
}
{ # mirror
ok(exception { $ua->mirror(url("/echo/foo", $base)) }, 'mirror: filename required');
+ ok(exception { $ua->mirror(url("/echo/foo", $base), q{}) }, 'mirror: non empty filename required');
my $copy = "lwp-base-test-$$"; # downloaded copy
my $res = $ua->mirror(url("/echo/foo", $base), $copy);
isa_ok($res, 'HTTP::Response', 'mirror: good response object');
ok(-s $copy, 'mirror: file exists and is not empty');
unlink($copy);
+
+ $ua->mirror(url("/echo/foo", $base),q{0});
+ ok(1, 'can write to a file called 0');
+ unlink('0');
}
{ # partial
my $req = HTTP::Request->new( GET => url("/partial", $base) );
Fesler
Fiegehenn
Finch
+Fowler
Froehlich
Gavin
Gerhard
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '6.40';
+my $newver = '6.41';
my $trial_token = '-TRIAL';
my $encoding = 'UTF-8';