Change history for libwww-perl
+6.25 2017-04-03
+ - Fix LWP::UserAgent docs for request and request_simple that pointed to
+ functions in LWP::Simple rather than LWP::UserAgent
+ - Moved the official bug tracker to GitHub rather than RT.
+
6.24 2017-03-14
- Document clone methods inability to clone cookie jars (RT #13542)
- It is now possible to set the proxy and no_proxy attributes from the
"provides" : {
"LWP" : {
"file" : "lib/LWP.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Authen::Basic" : {
"file" : "lib/LWP/Authen/Basic.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Authen::Digest" : {
"file" : "lib/LWP/Authen/Digest.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Authen::Ntlm" : {
"file" : "lib/LWP/Authen/Ntlm.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::ConnCache" : {
"file" : "lib/LWP/ConnCache.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Debug" : {
"file" : "lib/LWP/Debug.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Debug::TraceHTTP" : {
"file" : "lib/LWP/Debug/TraceHTTP.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Debug::TraceHTTP::Socket" : {
"file" : "lib/LWP/Debug/TraceHTTP.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::DebugFile" : {
"file" : "lib/LWP/DebugFile.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::MemberMixin" : {
"file" : "lib/LWP/MemberMixin.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol" : {
"file" : "lib/LWP/Protocol.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::MyFTP" : {
"file" : "lib/LWP/Protocol/ftp.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::cpan" : {
"file" : "lib/LWP/Protocol/cpan.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::data" : {
"file" : "lib/LWP/Protocol/data.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::file" : {
"file" : "lib/LWP/Protocol/file.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::ftp" : {
"file" : "lib/LWP/Protocol/ftp.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::gopher" : {
"file" : "lib/LWP/Protocol/gopher.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::http" : {
"file" : "lib/LWP/Protocol/http.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::http::Socket" : {
"file" : "lib/LWP/Protocol/http.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::http::SocketMethods" : {
"file" : "lib/LWP/Protocol/http.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::loopback" : {
"file" : "lib/LWP/Protocol/loopback.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::mailto" : {
"file" : "lib/LWP/Protocol/mailto.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::nntp" : {
"file" : "lib/LWP/Protocol/nntp.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Protocol::nogo" : {
"file" : "lib/LWP/Protocol/nogo.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::RobotUA" : {
"file" : "lib/LWP/RobotUA.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::Simple" : {
"file" : "lib/LWP/Simple.pm",
- "version" : "6.24"
+ "version" : "6.25"
},
"LWP::UserAgent" : {
"file" : "lib/LWP/UserAgent.pm",
- "version" : "6.24"
+ "version" : "6.25"
}
},
"release_status" : "stable",
"resources" : {
- "bugtracker" : {
- "mailto" : "bug-libwww-perl@rt.cpan.org",
- "web" : "https://rt.cpan.org/Public/Dist/Display.html?Name=libwww-perl"
- },
"homepage" : "https://github.com/libwww-perl/libwww-perl",
"repository" : {
"type" : "git",
"x_IRC" : "irc://irc.perl.org/#lwp",
"x_MailingList" : "mailto:libwww@perl.org"
},
- "version" : "6.24",
+ "version" : "6.25",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.024000"
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v6.24",
+ "tag" : "v6.25",
"tag_format" : "v%v",
"tag_message" : "v%v"
},
},
"Dist::Zilla::Role::Git::DirtyFiles" : {
"allow_dirty" : [
+ "Changes",
"LICENSE",
"META.json",
"Makefile.PL",
},
"Dist::Zilla::Role::Git::DirtyFiles" : {
"allow_dirty" : [
+ "Changes",
"LICENSE",
"META.json",
"Makefile.PL",
provides:
LWP:
file: lib/LWP.pm
- version: '6.24'
+ version: '6.25'
LWP::Authen::Basic:
file: lib/LWP/Authen/Basic.pm
- version: '6.24'
+ version: '6.25'
LWP::Authen::Digest:
file: lib/LWP/Authen/Digest.pm
- version: '6.24'
+ version: '6.25'
LWP::Authen::Ntlm:
file: lib/LWP/Authen/Ntlm.pm
- version: '6.24'
+ version: '6.25'
LWP::ConnCache:
file: lib/LWP/ConnCache.pm
- version: '6.24'
+ version: '6.25'
LWP::Debug:
file: lib/LWP/Debug.pm
- version: '6.24'
+ version: '6.25'
LWP::Debug::TraceHTTP:
file: lib/LWP/Debug/TraceHTTP.pm
- version: '6.24'
+ version: '6.25'
LWP::Debug::TraceHTTP::Socket:
file: lib/LWP/Debug/TraceHTTP.pm
- version: '6.24'
+ version: '6.25'
LWP::DebugFile:
file: lib/LWP/DebugFile.pm
- version: '6.24'
+ version: '6.25'
LWP::MemberMixin:
file: lib/LWP/MemberMixin.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol:
file: lib/LWP/Protocol.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::MyFTP:
file: lib/LWP/Protocol/ftp.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::cpan:
file: lib/LWP/Protocol/cpan.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::data:
file: lib/LWP/Protocol/data.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::file:
file: lib/LWP/Protocol/file.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::ftp:
file: lib/LWP/Protocol/ftp.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::gopher:
file: lib/LWP/Protocol/gopher.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::http:
file: lib/LWP/Protocol/http.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::http::Socket:
file: lib/LWP/Protocol/http.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::http::SocketMethods:
file: lib/LWP/Protocol/http.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::loopback:
file: lib/LWP/Protocol/loopback.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::mailto:
file: lib/LWP/Protocol/mailto.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::nntp:
file: lib/LWP/Protocol/nntp.pm
- version: '6.24'
+ version: '6.25'
LWP::Protocol::nogo:
file: lib/LWP/Protocol/nogo.pm
- version: '6.24'
+ version: '6.25'
LWP::RobotUA:
file: lib/LWP/RobotUA.pm
- version: '6.24'
+ version: '6.25'
LWP::Simple:
file: lib/LWP/Simple.pm
- version: '6.24'
+ version: '6.25'
LWP::UserAgent:
file: lib/LWP/UserAgent.pm
- version: '6.24'
+ version: '6.25'
requires:
Digest::MD5: '0'
Encode: '2.12'
resources:
IRC: irc://irc.perl.org/#lwp
MailingList: mailto:libwww@perl.org
- bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=libwww-perl
homepage: https://github.com/libwww-perl/libwww-perl
repository: https://github.com/libwww-perl/libwww-perl.git
-version: '6.24'
+version: '6.25'
x_Dist_Zilla:
perl:
version: '5.024000'
branch: ~
changelog: Changes
signed: 0
- tag: v6.24
+ tag: v6.25
tag_format: v%v
tag_message: v%v
Dist::Zilla::Role::Git::Repo:
untracked_files: die
Dist::Zilla::Role::Git::DirtyFiles:
allow_dirty:
+ - Changes
- LICENSE
- META.json
- Makefile.PL
commit_msg: v%v%n%n%c
Dist::Zilla::Role::Git::DirtyFiles:
allow_dirty:
+ - Changes
- LICENSE
- META.json
- Makefile.PL
"Test::More" => 0,
"Test::RequiresInternet" => 0
},
- "VERSION" => "6.24",
+ "VERSION" => "6.25",
"test" => {
"TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/local/*.t t/robot/*.t"
}
# user/password if document is protected.
{
package RequestAgent;
-$RequestAgent::VERSION = '6.24';
+$RequestAgent::VERSION = '6.25';
use base qw(LWP::UserAgent);
sub new
copyright_holder = Gisle Aas
copyright_year = 1995
-version = 6.24
+version = 6.25
; Gather stuff in
[Git::GatherDir]
[MetaYAML]
[MetaJSON]
[MetaResources]
-bugtracker.web = https://rt.cpan.org/Public/Dist/Display.html?Name=libwww-perl
-bugtracker.mailto = bug-libwww-perl@rt.cpan.org
x_IRC = irc://irc.perl.org/#lwp
x_MailingList = mailto:libwww@perl.org
-remove = Git::Commit
[Git::Check]
+allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = LICENSE
allow_dirty = META.json
allow_dirty = README.md
[Git::Commit]
+allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = LICENSE
allow_dirty = META.json
package LWP;
-our $VERSION = '6.24';
+our $VERSION = '6.25';
require LWP::UserAgent; # this should load everything you need
package LWP::Authen::Basic;
-$LWP::Authen::Basic::VERSION = '6.24';
+$LWP::Authen::Basic::VERSION = '6.25';
use strict;
require MIME::Base64;
package LWP::Authen::Digest;
-$LWP::Authen::Digest::VERSION = '6.24';
+$LWP::Authen::Digest::VERSION = '6.25';
use strict;
use base 'LWP::Authen::Basic';
use strict;
-our $VERSION = '6.24';
+our $VERSION = '6.25';
use Authen::NTLM "1.02";
use MIME::Base64 "2.12";
use strict;
-our $VERSION = '6.24';
+our $VERSION = '6.25';
our $DEBUG;
sub new {
package LWP::Debug; # legacy
-$LWP::Debug::VERSION = '6.24';
+$LWP::Debug::VERSION = '6.25';
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(level trace debug conns);
package LWP::Debug::TraceHTTP;
-$LWP::Debug::TraceHTTP::VERSION = '6.24';
+$LWP::Debug::TraceHTTP::VERSION = '6.25';
# Just call:
#
# require LWP::Debug::TraceHTTP;
use base 'LWP::Protocol::http';
package LWP::Debug::TraceHTTP::Socket;
-$LWP::Debug::TraceHTTP::Socket::VERSION = '6.24';
+$LWP::Debug::TraceHTTP::Socket::VERSION = '6.25';
use Data::Dump 1.13;
use Data::Dump::Trace qw(autowrap mcall);
package LWP::DebugFile;
-$LWP::DebugFile::VERSION = '6.24';
+$LWP::DebugFile::VERSION = '6.25';
# legacy stub
1;
package LWP::MemberMixin;
-$LWP::MemberMixin::VERSION = '6.24';
+$LWP::MemberMixin::VERSION = '6.25';
sub _elem {
my $self = shift;
my $elem = shift;
use base 'LWP::MemberMixin';
-our $VERSION = '6.24';
+our $VERSION = '6.25';
use strict;
use Carp ();
package LWP::Protocol::cpan;
-$LWP::Protocol::cpan::VERSION = '6.24';
+$LWP::Protocol::cpan::VERSION = '6.25';
use strict;
use base qw(LWP::Protocol);
package LWP::Protocol::data;
-$LWP::Protocol::data::VERSION = '6.24';
+$LWP::Protocol::data::VERSION = '6.25';
# Implements access to data:-URLs as specified in RFC 2397
use strict;
package LWP::Protocol::file;
-$LWP::Protocol::file::VERSION = '6.24';
+$LWP::Protocol::file::VERSION = '6.25';
use base qw(LWP::Protocol);
use strict;
package LWP::Protocol::ftp;
-$LWP::Protocol::ftp::VERSION = '6.24';
+$LWP::Protocol::ftp::VERSION = '6.25';
# Implementation of the ftp protocol (RFC 959). We let the Net::FTP
# package do all the dirty work.
use base qw(LWP::Protocol);
{
package LWP::Protocol::MyFTP;
-$LWP::Protocol::MyFTP::VERSION = '6.24';
+$LWP::Protocol::MyFTP::VERSION = '6.25';
use strict;
use base qw(Net::FTP);
package LWP::Protocol::gopher;
-$LWP::Protocol::gopher::VERSION = '6.24';
+$LWP::Protocol::gopher::VERSION = '6.25';
# Implementation of the gopher protocol (RFC 1436)
#
# This code is based on 'wwwgopher.pl,v 0.10 1994/10/17 18:12:34 shelden'
package LWP::Protocol::http;
-$LWP::Protocol::http::VERSION = '6.24';
+$LWP::Protocol::http::VERSION = '6.25';
use strict;
require HTTP::Response;
#-----------------------------------------------------------
package LWP::Protocol::http::SocketMethods;
-$LWP::Protocol::http::SocketMethods::VERSION = '6.24';
+$LWP::Protocol::http::SocketMethods::VERSION = '6.25';
sub ping {
my $self = shift;
!$self->can_read(0);
#-----------------------------------------------------------
package LWP::Protocol::http::Socket;
-$LWP::Protocol::http::Socket::VERSION = '6.24';
+$LWP::Protocol::http::Socket::VERSION = '6.25';
use base qw(LWP::Protocol::http::SocketMethods Net::HTTP);
1;
package LWP::Protocol::loopback;
-$LWP::Protocol::loopback::VERSION = '6.24';
+$LWP::Protocol::loopback::VERSION = '6.25';
use strict;
require HTTP::Response;
package LWP::Protocol::mailto;
-$LWP::Protocol::mailto::VERSION = '6.24';
+$LWP::Protocol::mailto::VERSION = '6.25';
# This module implements the mailto protocol. It is just a simple
# frontend to the Unix sendmail program except on MacOS, where it uses
# Mail::Internet.
package LWP::Protocol::nntp;
-$LWP::Protocol::nntp::VERSION = '6.24';
+$LWP::Protocol::nntp::VERSION = '6.25';
# Implementation of the Network News Transfer Protocol (RFC 977)
use base qw(LWP::Protocol);
# LWP::Protocol::implementor(that_scheme, 'LWP::Protocol::nogo');
# For then on, attempts to access URLs with that scheme will generate
# a 500 error.
-$LWP::Protocol::nogo::VERSION = '6.24';
+$LWP::Protocol::nogo::VERSION = '6.25';
use strict;
require HTTP::Response;
use base qw(LWP::UserAgent);
-our $VERSION = '6.24';
+our $VERSION = '6.25';
require WWW::RobotRules;
require HTTP::Request;
use strict;
-our $VERSION = '6.24';
+our $VERSION = '6.25';
require Exporter;
use Scalar::Util qw(blessed);
use Try::Tiny qw(try catch);
-our $VERSION = '6.24';
+our $VERSION = '6.25';
sub new
{
my $res = $ua->request( $request, $content_cb );
my $res = $ua->request( $request, $content_cb, $read_size_hint );
-This method will dispatch the given C<$request> object. Normally this
+This method will dispatch the given C<$request> object. Normally this
will be an instance of the L<HTTP::Request> class, but any object with
-a similar interface will do. The return value is an L<HTTP::Response> object.
-See L<HTTP::Request> and L<HTTP::Response> for a description of the
-interface provided by these classes.
+a similar interface will do. The return value is an L<HTTP::Response> object.
The C<request> method will process redirects and authentication
-responses transparently. This means that it may actually send several
-simple requests via the L<LWP::Simple/simple_request> method described below.
+responses transparently. This means that it may actually send several
+simple requests via the L<LWP::UserAgent/simple_request> method described below.
-The request methods described above; L<LWP::Simple/get>, L<LWP::Simple/head>,
-L<LWP::Simple/post> and L<LWP::Simple/mirror> will all dispatch the request
-they build via this method.
-They are convenience methods that simply hide the creation of the
-request object for you.
+The request methods described above; L<LWP::UserAgent/get>, L<LWP::UserAgent/head>,
+L<LWP::UserAgent/post> and L<LWP::UserAgent/mirror> will all dispatch the request
+they build via this method. They are convenience methods that simply hide the
+creation of the request object for you.
The C<$content_file>, C<$content_cb> and C<$read_size_hint> all correspond to
-options described with the L<LWP::Simple/get> method above. Note that errors
+options described with the L<LWP::UserAgent/get> method above. Note that errors
writing to the content file (for example due to permission denied
or the filesystem being full) will be reported via the C<Client-Aborted>
or C<X-Died> response headers, and not the C<is_success> method.
my $res = $ua->simple_request( $request, $content_cb, $read_size_hint );
This method dispatches a single request and returns the response
-received. Arguments are the same as for the L<LWP::Simple/request> described above.
+received. Arguments are the same as for the L<LWP::UserAgent/request> described above.
-The difference from L<LWP::Simple/request> is that C<simple_request> will not try to
-handle redirects or authentication responses. The L<LWP::Simple/request> method
+The difference from L<LWP::UserAgent/request> is that C<simple_request> will not try to
+handle redirects or authentication responses. The L<LWP::UserAgent/request> method
will, in fact, invoke this method for each simple request it sends.
=head1 CALLBACK METHODS
plan tests => scalar @modules;
my %trustme = (
- 'LWP::RobotUA' => [
- qr/^host_count$/
- ],
+ 'LWP::Protocol::http' => [
+ qr/^(?:hlist_remove|socket_class|socket_type)$/
+ ],
'LWP::Protocol::gopher' => [
qr/^(?:gopher2url|menu2html)$/
],
+ 'LWP::RobotUA' => [
+ qr/^host_count$/
+ ],
'LWP::Protocol' => [
qr/^(?:max_size|timeout)$/
],
'LWP::UserAgent' => [
qr/^(?:run_handlers|send_request|use_alarm|use_eval)$/
- ],
- 'LWP::Protocol::http' => [
- qr/^(?:hlist_remove|socket_class|socket_type)$/
- ]
+ ]
);
my @also_private;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '6.24';
+my $newver = '6.25';
my $trial_token = '-TRIAL';
SKIP: {