Upstream changes:
6.36 2018-10-10 02:20:58Z
- fix broken link https://metacpan.org/pod/LWP::Simple by fixing pod
header (thanks for the report, traumschule!)
Upstream changes:
6.35 2018-07-16 04:48:54Z
- fix file descriptor leak in LWP::Protocol (introduced in version 6.17)
that occurs for perl versions earlier than 5.18. (GH #296)
Upstream changes:
6.34 2018-06-05 18:48:59Z
- timeout() documentation has more details about the response (thanks,
Andrew Grangaard!)
- HTTP::Status is now upgraded to 6.18 if 6.17 is installed (which had a
bug).
6.33 2018-02-27 03:51:36Z
- Fix send_te change from previous release, which was breaking
LWP::Parallel::UserAgent and Test::Override::UserAgent (GH #281) (Doug
Bell)
Upstream changes:
6.32 2018-02-20 19:39:20Z
- Suggest LWP::ConsoleLogger as an alternative to the deprecated LWP::Debug (GH#278) (Olaf Alders)
- add send_te configuration to disable sending the TE header (GH#126) (Doug Bell)
- Added a developer feature to the http.t tests. (GH#257) (colinnewell)
6.31 2017-12-11 01:55:53Z
- fix version numbering (RT#123841)
6.30 2017-12-07
- Use tr/// instead of s/// where appropriate (Ville Skyttä) (GH #265)
- Use parent -norequire instead of base to not look for external
dependencies (Fabian Zeindler) (GH #259)
- Fix run_handlers to allow assigning to the request / response (Gianni
Ceccarelli) (GH #274)
6.29 2017-11-06
- Fix some version numbers
6.28 2017-11-06
- Remove last use of Geopt::Std (Sergey Remanov) (GH #267)
- Include unmatched connect error in status string (Patrik Lundin) (GH #269)
- Fix insecure open FILEHANDLE,EXPR (Takumi Akiyama) (GH #270)
6.26 2017-04-12
- Perltidy all apps in the bin/ directory
- Make all apps in bin/ use strict and warnings (RT #92633)
- Fix bug tracker URL in metadata
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
constructor of LWP::UserAgent. (GH #124)
6.23 2017-03-06
- Fix bug where Protocol::NNTP called undef on a variable before being done
using it. (GH PR #121)
- Ran perltidy on LWP::Protocol::NNTP
- Re-organized current documentation set.
6.22 2017-03-01
- Update Travis-CI to test on minimum versions of prereqs. (GH PR #109)
- Fix tests that depended on a newer version of HTTP::Message (GH PR #119)
- Update documentation to reflect behavior difference in ->put() depending
on the version of HTTP::Message installed. (GH PR #120)
6.21 2017-02-21
- Ensure that LWP::Simple re-exports some HTTP::Status functions
6.20 2017-02-21
- Converted to use Dist::Zilla
- Moved several tests to xt/author
6.19 2017-02-14
- Call HTTP::Status constant functions without & (GH#110)
- Make bin scripts use LWP's version and not maintain their own (PR #54)
- Fix bug triggered in some cases of auth challenges not having a viable
protocol (PR#111)
- Remove usage of the 'vars' pragma (GH#113)
6.18 2017-02-02
- Update "timeout" when reusing sockets (PR#90)
- Fix bug triggered when calling simple_request() with a malformed URL
(PR#108)
6.17 2017-01-31
- Noted another protocol failure message (PR#65)
- Removed old use of UNIVERSAL::isa() and swapped evals for Try::Tiny (PR#105)
- Standardized the Changes file (GH#106)
- Fixed documentation error in lwp-request.
6.16 2017-01-12
- Moved LWP::Protocol::GHTTP into its own dist and removed from here (PR#81)
- Updated test suite to use strict/warnings and Test::More (PR#88)
- Additional tests for UserAgent coverage (PR#79)
- Cleaned up documentation formatting and fixed several typos (PR#87, PR#93)
- Stop promoting use of HTTP::Cookies and instead use HTTP::CookieJar::LWP (PR#102)
- Added some new documentation to UserAgent and tutorial (PR#68)
- Allow default header to carry over when using ->post() in UA (PR#100)
2015-12-15 Release 6.15
(special thanks to Chase Whitener for testing many of these changes out in
6.14_001!)
Graham Knop (1):
- tests now use localhost rather than a net-accessible address (PR#76)
Michael Schwern (1):
- fixed some tests to do what they intended (regex rather than boolean
checks) (from PR#28)
Joe Atzberger (2):
- conversion of some tests from Test.pm to Test::More (from PR#29)
Piotr Roszatycki (1):
- use File::Temp for randomized tempdir (PR#53)
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.
No effective change for the above reason.
Ok joerg
2015-02-14 Release 6.13
Karen Etheridge (1):
- fixed Makefile.PL compatibility with older ExtUtils::MakeMaker (from
release 6.12)
_______________________________________________________________________________
2015-02-13 Release 6.12
Karen Etheridge (1):
- fixed prereq declarations in release 6.11
_______________________________________________________________________________
2015-02-13 Release 6.11
Graham Knop (1):
- cleanup of the test running mechanism; allowing greater flexibility and
should also resolve RT#102083
_______________________________________________________________________________
2015-02-12 Release 6.10
Karen Etheridge (1):
- lower runtime prereqs recommendation on LWP::Protocol::https to suggests,
to work around a circular dependency in CPAN clients when the 'install
recommendations' option is enabled (RT#101732)
_______________________________________________________________________________
2015-02-09 Release 6.09
Steffen Ullrich (1):
- checks for EINTR now also check EWOULDBLOCK (they sometimes differ on
MSWin32)
Daina Pettit (1):
- fixed pod syntax
Jason A Fesler (2):
- Fixed checking the % character in address regex
- Improved regex for literal IPv6 addresses
Update DEPENDS
Upstream changes:
2014-07-24 Release 6.08
Mike Schilli (1):
Requiring Net::HTTP 6.07 to fix IPv6 support
(RT#75618 and https://github.com/libwww-perl/net-http/pull/10)
Jason A Fesler (2):
When the hostname is an IPv6 literal, encapsulate it with [brackets]
before calling Net::HTTP [rt.cpan.org #29468]
Extra steps to make sure that the host address that has a ":" contains
only characters appropriate for an IPv6 address.
John Wittkoski (1):
Fix doc typo for cookie_jar
_______________________________________________________________________________
2014-07-01 Release 6.07
Mike Schilli (5):
Removed Data::Dump references in test suite and dependency in Makefile.PL
Added MANIFEST.SKIP to enable "make manifest".
release script now checks for MacOS to avoid incompatible tarballs
Bumped version number to 6.07
Fixed gnu-incompatible tarball problem ([rt.cpan.org #94844])
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-04-16 Release 6.06
Ville Skyttä (3):
Merge pull request #44 from dsteinbrunner/master
Spelling fixes.
Merge pull request #55 from oalders/master
Karen Etheridge (2):
Merge pull request #38 from mbeijen/typo-sting
Merge pull request #43 from dsteinbrunner/master
David Steinbrunner (2):
Spelling corrections
Olaf Alders (1):
Typo fixes.
Steffen Ullrich (1):
correct behavior for https_proxy,
e.g. don't send plain https:// requests to proxy, but instead establish
CONNECT tunnel and then send requests inside tunnel.
This change does together with a change in LWP::Protocol::https.
The change supports LWP::Protocol::https with the default
IO::Socket::SSL backend, but also with Net::SSL. Also:
- proxy authorization is supported (http://user:pass@host:port as proxy
URL, Net::SSL still needs special HTTPS_PROXY_* environemt variables,
as before)
- CONNECT request does not need to be the first request inside the
tunnel (not with Net::SSL)
- conn_cache is read and written inside request(), instead of writing in
request() and reading in _new_socket(). If a https tunnel is
established the cache_key no longer depends only on proxy host,port
but also on the tunnel endpoint
- CONNECT is a proxy request and must always use Proxy-Authorization,
not Authorization header
turugina (1):
fix: auth-header of Digest auth did not conform to
RFC 2617 when WWW-Authenticate has 'qop' parameter.
Gisle Aas (1):
SSL libs might trigger ENOTTY on read
Michiel Beijen (1):
Small typo.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Changelog:
_______________________________________________________________________________
2013-03-11 Release 6.05
Karen Etheridge (3):
Derive message from status code if it was not provided
Merge pull request #33 from tomhukins/fix-readme
fix typo in comment
Ville Skyttä (3):
Spelling fixes.
Spelling fix.
Merge pull request #34 from berekuk/fix-github-path
Gisle Aas (3):
Update repo URL
With Net::HTTP 6.04 we don't need our own can_read() and sysread override
$ENV{HTTP_PROXY} might override our test setup [RT#81381]
Vyacheslav Matyukhin (1):
fix github url in perldoc
Slaven Rezic (1):
* Pod is utf-8
Peter Rabbitson (1):
Match required perl in Makefile.PL
Tom Hukins (1):
Fix Github URLs
_______________________________________________________________________________
2012-02-18 Release 6.04
Gisle Aas (4):
Typo fix; envirionment [RT#72386]
Implement $ua->is_online test
Add separate option to enable the live jigsaw tests
Merge pull request #10 from trcjr/master
Theodore Robert Campbell Jr (3):
now with put and delete helpers
updated POD
unit tests for ua->put and ua->delete
Peter Rabbitson (1):
These modules work with 5.8.1
_______________________________________________________________________________
2011-10-15 Release 6.03
Ville Skyttä (7):
Link updates.
Attribute documentation wording improvements.
Don't parse robots.txt response content unless it's textual.
Decode robots.txt response content before attempting to parse it.
RobotUA robots.txt response parsing cleanups.
Don't parse HEAD of robots.txt responses.
Request handler doc grammar fixes.
Gisle Aas (6):
Pass on HTTP/1.0 if set as request protocol
Remove outdated docs (not touched since 1996 :-)
Merge pull request #22 from madsen/RT67947-verify_hostname
PERL_LWP_ENV_PROXY tweaks
lwp-request didn't respect -H Content-type [RT#70488]
lwp-request -H didn't allow repeated headers
Christopher J. Madsen (2):
verify_hostname defaults to 0 if ssl_opts provided [RT#67947]
Test verify_hostname setting
Bryan Cardillo (1):
Fix expect header support to work with content refs.
Moritz Onken (1):
add PERL_LWP_ENV_PROXY env variable to enable env_proxy globally
--- snip ---
2011-03-27 Release 6.02
This is the release where we try to help the CPAN-toolchain be able to install
the modules required for https-support in LWP. We have done this by unbundling
the LWP::Protocol::https module from the libwww-perl distribution. In order to
have https support you now need to install (or depend on) 'LWP::Protocol::https'
and then this will make sure that all the prerequsite modules comes along.
See [RT#66838].
This release also removes the old http10 modules that has really been
deprecated since v5.60. These should have been removed at the v6.00 jump, but
I forgot.
Christopher J. Madsen (1):
Ignores env variables when ssl_opts provided [RT#66663]
Gisle Aas (4):
Fix typo; Authen::NTLM [RT#66884]
Yury Zavarin (1):
Support LWP::ConnCache->new(total_capacity => undef)
_______________________________________________________________________________
2011-03-09 Release 6.01
Add missing HTTP::Daemon dependency for the tests.
_______________________________________________________________________________
2011-03-08 Release 6.00
Unbundled all modules not in the LWP:: namespace from the libwww-perl
distribution. The new broken out CPAN distribtions are File-Listing,
HTML-Form, HTTP-Cookies, HTTP-Daemon, HTTP-Date, HTTP-Message, HTTP-Negotiate,
Net-HTTP, and WWW-RobotRules. libwww-perl-6 require these to be installed.
This release also drops the unmaintained lwp-rget script from the distribution.
Perl v5.8.8 or better is now required. For older versions of perl please stay
with libwww-perl-5.837.
For https://... default to verified connections with require IO::Socket::SSL
and Mozilla::CA modules to be installed. Old behaviour can be requested by
setting the PERL_LWP_SSL_VERIFY_HOSTNAME environment variable to 0. The
LWP::UserAgent got new ssl_opts method to control this as well.
Support internationalized URLs from command line scripts and in the proxy
environment variables.
The lwp-dump script got new --request option.
The lwp-request script got new -E option, contributed by Tony Finch.
Protocol handlers and callbacks can raise HTTP::Response objects as exceptions.
--- snip ---
This will abort the current request and make LWP return the raised response.
Upstream changes:
2010-09-20 Release 5.837
David E. Wheeler (1):
Fix for Encode 2.40
Gisle Aas (2):
Fix Perl syntax error in synopsis
Allow ISO 8601 date strings when parsing Apache file listings
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Upstream changes:
2010-05-13 Release 5.836
Gisle Aas (1):
Fix problem where $resp->base would downcase its return value
2010-05-05 Release 5.835
Gisle Aas (12):
simple string can be simplified
Make $mess->decoded_content remove XML encoding declarations [RT#52572]
Don't allow saving to filenames starting with '.' suggested by server
Avoid race between testing for existence of output file and opening the file
Minor doc fixup -- wrongly ucfirsted word
Use decoded_content in HTTP:Response synopsis [RT#54139]
sun.com is no more. rip!
Trivial layout tweak to reduce variable scope.
Add 'make test_hudson' target
Implement alt_charset parameter for decoded_content()
Test decoding with different charset parameters
lwp-download now needs the -s option to honor the Content-Disposition header
Ville Skyttä (9):
Make LWP::MediaTypes::media_suffix case insensitive.
Skip XML decoding tests if XML::Simple is not available.
Documentation fixes.
Fix m_media_type => "xhtml" matching.
Make parse_head() apply to data: requests.
Documentation spelling fixes.
Documentation grammar fixes.
Use $uri->secure in m_secure if available.
Fix handling of multiple (same) base headers, and parameters in them.
Mark Stosberg (5):
Strip out empty lines separated by CRLF
Best Practice: avoid indirect object notation
Speed up as_string by 4% by having _sorted_field_names return a reference
Speed up scan() a bit. as_string() from this branch is now 6% faster
Port over as_string() optimizations from HTTP::Headers::Fast
Tom Hukins (2):
Link to referenced documentation.
Update repository location.
Father Chrysostomos (1):
Remove needless (and actually harmful) local $_
Sean M. Burke (1):
"Perl & LWP" is available online
2009-11-21 Release 5.834
Gisle Aas (4):
Check for sane default_headers argument [RT#50393]
Add $ua->local_address attribute [RT#40912]
Test that generation of boundary works [RT#49396]
Page does not display the "standard" apache listing any more
Ville Skyttä (2):
Remove unneeded executable permissions.
Switch compression/decompression to use the IO::Compress/IO::Uncompress and
Compress::Raw::Zlib family of modules.
Slaven Rezic (1):
lwp-request should use stderr for auth [RT#21620]
Upstream changes:
2009-10-06 Release 5.833
Gisle Aas (5):
Deal with cookies that expire far into the future [RT#50147]
Deal with cookies that expire at or before epoch [RT#49467]
Pass separate type for https to LWP::ConnCache [RT#48899]
Improved handling of the User-Agent header [RT#48461]
HTTP::Cookies add_cookie_header previous Cookies [RT#46106]
Andreas J. Koenig (1):
Improve diagnostics from LWP::UserAgent::mirror [RT#48869]
Slaven Rezic (1):
mirror should die in case X-Died is set [RT#48236]
Ville Skytt"a (1):
Increase default Net::HTTP max line length to 8k.
Upstream changes:
2009-09-21 Release 5.832
Ville Skytt"a (6):
Fix net test suite.
Comment spelling fixes.
Fix links to old Netscape cookie specification.
Documentation spelling fixes.
Improve max line length exceeded/read error messages.
Do not warn about seemingly wellformed but unrecognized robots.txt lines.
Gisle Aas (1):
$mess->content_charset would fail for empty content
mschilli (1):
Further restrict what variables env_proxy() process
- Updating package for p5 module LWP from 5.828 to 5.829
- Adjusting license to perl license
Upstream changes:
2009-07-07 Release 5.829
This release removes callback handlers that were left over on the returned
HTTP::Responses. This was problematic because it created reference loops
preventing the Perl garbage collector from releasing their memory. Another
problem was that Storable by default would not serialize these objects any
more.
This release also adds support for locating HTML::Form inputs by id or class
attribute; for instance $form->value("#foo", 42) will set the value on the
input with the ID of "foo".
Gisle Aas (5):
Make the example code 'use strict' clean by adding a my
Avoid cycle in response
Clean up handlers has from response after data processing is done
Support finding inputs by id or class in HTML::Form
Test HTML::Form selectors
Mark Stosberg (1):
Tidy and document the internals of mirror() better [RT#23450]
phrstbrn (1):
Avoid warnings from HTML::Form [RT#42654]
- Updating package for p5 module LWP from 5.826 to 5.828
Upstream changes:
2009-06-25 Release 5.828
A quick new release to restore compatiblity with perl-5.6.
Gisle Aas (4):
Less noisy behaviour when we can't download the documents
Restore perl-5.6 compatiblity [RT#47054]
Don't decode US-ASCII and ISO-8859-1 content
Some versions of Encode don't support UTF-16-BE [RT#47152]
Ville Skytt"a (1):
Spelling fixes.
2009-06-15 Release 5.827
The main news this time is better detection of what character set the document
in a response uses and the addition of the lwp-dump script that I found useful.
Gisle Aas (31):
Added lwp-dump script
Replace calls to $req->url with $req->uri
Also need to encode strings in the latin1 range
Ignore the value set for file inputs [RT#46911]
Add docs to lwp-dump
Don't let lwp-dump follow redirects
Support --method options
Implement the --agent option
Dictionary order for the option docs; document --method
Merge branch 'dump'
Files are passed as an array and we must not stringify it.
Add content_charset method to HTTP::Message
Start guessing the charset for a message
Let content_charset guess the charset to use for decoded_content
Specify what's missing for the XML and HTML case
Provide charset parameter for HTML::Form->parse()
Make content_charset sniff for <meta> elements specifying the charset.
Determine charset of XML documents
Get rid of the _trivial_http_get() implementation
Update the bundled media.types file
LWP::Simple::get() now returns decoded_content [RT#44435]
Implement content_type_charset method for HTTP::Headers
Implement content_is_text method for HTTP::Headers
Make use of content_is_text and content_type_charset in decoded_content
Don't let the parse_head callback append to the HTTP headers
Don't set Range header on request when max_size is used [RT#17208]
Still show client headers for internal responses
Document Client-Warning: Internal response
Don't use 'no' as example domain for no_proxy docs [RT#43728]
Drop exit from the Makefile.PL [RT#43060]
Merge branch 'content_charset'
Alex Kapranoff (1):
Support "accept-charset" attribute in HTML::Form
Mark Stosberg (1):
new tests for max_size and 206 responses [RT#46230]
murphy (1):
Reformulation of Client-Warning: Internal documentation