Change history for libwww-perl 6.78 2025-02-20 00:32:06Z - Don't warn on proxy as unrecognized option for LWP::UserAgent->new (GH#469) (Austin Hill) 6.77 2024-03-11 00:56:14Z - Documentation updates for GH#448 (GH#457) (Russell Shingleton) 6.76 2024-01-25 18:31:25Z - Simplify code slightly for Perl v5.8+ (GH#455) (James Raspass) - Move HTTP::CookieJar::LWP to test requires (GH#453) (Olaf Alders) 6.75 2024-01-24 14:29:17Z - Update lwp-request to support PATCH HTTP method (GH#452) (Javier Puche) 6.74 2024-01-22 17:48:18Z - Making it possible to use IPv6 in https call through https proxy environment (in case of using CONNECT method to create a tunnel) (GH#450) (Dmitriy Shamatrin) 6.73 2024-01-13 20:19:09Z - Fix no_proxy subdomain matching (GH#447) (Axel Burri) 6.72 2023-07-17 22:01:19Z - Don't mangle protocol scheme and don't require it to be valid if implementor is already known (GH#436) (mwgamera) 6.71 2023-06-20 19:44:19Z - Use rather than require Module::Load (GH#435) (Olaf Alders) 6.70 2023-04-30 13:22:56Z - Add cookie_jar_class attribute to allow different cookie jar modules to be used more easily (GH#91) (Tom Hukins, Julien Fiegehenn) - POD now contains all default attributes (GH#428) (Julien Fiegehenn) 6.69 2023-04-29 13:14:31Z - Timeouts for cached connections now update (GH#73) (Eric Johnson) - The conn_cache() can now be unset (GH#424) (Julien Fiegehenn) - LWP::Protocol now only attempts to load modules once (GH#62) (Burak Gursoy) - Fix a bug in no_proxy that allowed partial matches to a proxy address to disable a proxy (GH#421) (Julien Fiegehenn) 6.68 2023-02-27 19:18:33Z - Remove dynamic dependency on HTTP::Status (GH#419) (Graham Knop) - Raise minimum version of HTML::HeadParser to 3.71 (GH#422) (Olaf Alders) - Apply perlimports to tests (GH#418) (Olaf Alders) 6.67 2022-06-14 20:20:12Z - Remove undocumented LWP::Version sub (GH#416) (James Raspass) 6.66 2022-05-18 16:44:44Z - Revert automatic follow of meta refresh tags which was added in 6.63 (GH#415) (Olaf Alders) 6.65 2022-05-09 18:36:14Z - fix NAME in Makefile.PL (GH#413) (Graham Knop) 6.64 2022-04-26 13:16:03Z - Remove unused variable introduced in 9d73bc422 (GH#411) (Olaf Alders) 6.63 2022-04-25 15:24:10Z - Redirect on meta refresh (GH#409) (grr) 6.62 2022-04-05 01:04:17Z - Allow downloading to a filehandle (GH#400) (Andrew Fresh) 6.61 2022-01-21 21:41:18Z - Use File::Copy::move to attempt an atomic mirror (GH#401) (Andrew Fresh) - Require Getopt::Long at runtime, too (GH#402) (Ville Skyttä) 6.60 2021-12-17 22:29:57Z - Mirror temporary file handling fixes (GH#393) (Ville Skyttä) - Warn if updating modification time of mirrored file fails (GH#399) (Ville Skyttä) 6.59 2021-12-02 21:16:04Z - Use American English aspell master dictionary for POD spelling tests (GH#394) (Ville Skyttä) - Remove unnecessary string concatenations in mirror error messages (GH#391) (Ville Skyttä) - Spelling and grammar fixes (GH#390) (Ville Skyttä) 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) 6.56 2021-08-17 13:57:12Z - Update the CONTRIBUTING doc to no longer reference TravisCI. (GH #384) (Slaven Rezić) - Increase test coverage for env_proxy() (GH#383) (Slaven Rezić) - When a truthy Content-Type is provided, override the default (GH#385) (Matthew Horsfall (alh)) 6.55 2021-06-17 13:57:06Z - Attempt to avoid rare fails in redirect.t (GH#380) (Arne Johannessen) 6.54 2021-05-06 17:53:56Z - Be explicit in the prerequisite of HTTP::Status (GH#378) (Max Maischein) - Remove Authority section from dist.ini (GH#377) (Olaf Alders) 6.53 2021-03-07 16:54:48Z - Require HTTP::Daemon 6.12 for test (GH#374, GH#375) (fitzmorrispr, skaji) 6.52 2021-01-07 21:20:51Z - Remove block of code which creates message-digest auth request field (GH#369) (Olaf Alders) 6.51 2020-12-29 22:09:04Z - Fix proxy test on Windows (GH#358) (Olaf Alders) - Sort keys in Pod example of constructor defaults (GH#356) (Olaf Alders) 6.50 2020-12-16 18:35:08Z - Fix RT #81381 - Make LWP::UserAgent robust to 5.17.6/5.18 hash randomization (GH#355) (Yves Orton and Olaf Alders) 6.49 2020-09-24 00:27:56Z - Require network testing enabled for t/redirect.t (GH#351) (Olaf Alders) 6.48 2020-09-20 15:25:51Z - Support 308 Permanent Redirect (GH#349) (Galen Huntington) 6.47 2020-08-18 15:27:27Z - Only add cookies from the jar if there aren't cookies in the request (GH#347) (Doug Bell and Olaf Alders) 6.46 2020-06-23 21:19:26Z - Fix a looping regression in 6.45 for redirect responses without a Location header (GH PR#342, Niko Tyni) 6.45 2020-06-08 14:51:28Z - Fix Client-Warning: Internal response sometimes reset (GH#341) (Jonathan Dahan and Julien Fiegehenn) 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 credentials are wrong (Roman Galeev, Julien Fiegehenn) 6.42 2019-11-20 17:40:52Z - Add retry handling for a stale nonce with digest authentication (marmotil and Frank Maas) (GH#40, GH#313, GH#321) - Add the patch method to LWP::UserAgent. (GH#334) (Chase Whitener) - Fix docs to match keep_alive => undef behavior, add some trivial tests (GH#333) (Ville Skyttä) - Documentation grammar fixes (GH#331) (Ville Skyttä) 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) - Doc fix: fields starting with ":" have to be quoted (GH#324) (Slaven Rezić) - Fix documentation for removing all handlers (GH#319) (leedo) - Ensure proper version of Dist::Zilla::Plugin::MakeMaker::Awesome - Add TravisCI testing for Perl v5.30 - Clean up .perltidyrc 6.39 2019-05-06 14:18:39Z - Document current best practices (GH#314) (Olaf Alders) - Document order in which handlers fire (GH#315) (Olaf Alders) - SKIP nntp test for now (GH#317) (Olaf Alders) 6.38 2019-03-25 18:58:58Z - Update Net::HTTP dependency from 6.07 to 6.18 (GH#310) (Olaf Alders) - Remove s.c.o. from SYNOPSIS (GH#308) (Olaf Alders) 6.37 2019-03-06 20:49:26Z - Improve ->add_handler documentation (GH #272) (Julien Fiegehenn) - Alter our rule set to allow IPv6 proxy hosts beginning with [. (GH #237) - Add a jigsaw test for 307 redirects (GH#285) (Nik LaBelle) 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!) 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) 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) 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.27 2017-09-21 - Switch to Getopt::Long in lwp-download (GH #262) - Fix lwp-request -C (GH #261) - Hide LWP::Protocol::http::Socket, LWP::Protocol::http::SocketMethods and LWP::Debug::TraceHTTP::Socket from PAUSE - Add tests for the "get" & "head" functions (GH #252) - Update lwpcook.pod (GH #256) - Handle undefined values in ->credentials (GH #157) - Fix lwp-mirror options checks. - Update bin/ scripts to use $LWP::VERSION instead of ->Version() - Improve lwp-download --help (GH #262) 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-03 - 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-18 - 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) 6.15 2015-12-15 - tests now use localhost rather than a net-accessible address (PR#76, RT#94959) - fixed some tests to do what they intended (regex rather than boolean checks) (from PR#28) - conversion of some tests from Test.pm to Test::More (from PR#29) - use File::Temp for randomized tempdir (PR#53) 6.13 2015-02-14 - fixed Makefile.PL compatibility with older ExtUtils::MakeMaker (from release 6.12) 6.12 2015-02-13 - fixed prereq declarations in release 6.11 6.11 2015-02-13 - cleanup of the test running mechanism; allowing greater flexibility and should also resolve RT#102083 6.10 2015-02-12 - 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) 6.09 2015-02-09 - checks for EINTR now also check EWOULDBLOCK (they sometimes differ on MSWin32) - fixed pod syntax - Fixed checking the % character in address regex - Improved regex for literal IPv6 addresses 6.08 2014-07-24 - Requiring Net::HTTP 6.07 to fix IPv6 support (RT#75618 and https://github.com/libwww-perl/net-http/pull/10) - 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. - Fix doc typo for cookie_jar 6.07 2014-07-01 - 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]) 6.06 2014-04-16 - Merge pull request #44 from dsteinbrunner/master - Spelling fixes. - Merge pull request #55 from oalders/master - Merge pull request #38 from mbeijen/typo-sting - Merge pull request #43 from dsteinbrunner/master - Spelling corrections - Typo fixes. - 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_* ENV 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 - fix: auth-header of Digest auth did not conform to - RFC 2617 when WWW-Authenticate has 'qop' parameter. - SSL libs might trigger ENOTTY on read - Small typo. 6.05 2013-03-11 - Derive message from status code if it was not provided - Merge pull request #33 from tomhukins/fix-readme - fix typo in comment - Spelling fixes. - Spelling fix. - Merge pull request #34 from berekuk/fix-github-path - 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] - fix github url in perldoc - * Pod is utf-8 - Match required perl in Makefile.PL - Fix Github URLs 6.04 2012-02-18 - 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 - now with put and delete helpers - updated POD - unit tests for ua->put and ua->delete - These modules work with 5.8.1 6.03 2011-10-15 - 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. - 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 - verify_hostname defaults to 0 if ssl_opts provided [RT#67947] - Test verify_hostname setting - Fix expect header support to work with content refs. - add PERL_LWP_ENV_PROXY env variable to enable env_proxy globally 6.02 2011-03-27 - 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 prerequisite 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. - Ignores env variables when ssl_opts provided [RT#66663] - Fix typo; Authen::NTLM [RT#66884] - Support LWP::ConnCache->new(total_capacity => undef) 6.01 2011-03-09 - Add missing HTTP::Daemon dependency for the tests. 6.00 2011-03-08 - Unbundled all modules not in the LWP:: namespace from the distribution. The new broken out CPAN distributions 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 bysetting 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. This will abort the current request and make LWP return the raised response. 5.837 2010-09-20 - Fix for Encode 2.40 - Fix Perl syntax error in synopsis - Allow ISO 8601 date strings when parsing Apache file listings 5.836 2010-05-13 - Fix problem where $resp->base would downcase its return value 5.835 2010-05-05 - 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 - 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. - 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 - Link to referenced documentation. - Update repository location. - Remove needless (and actually harmful) local $_ - "Perl & LWP" is available online 5.834 2009-11-21 - 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 - Remove unneeded executable permissions. - Switch compression/decompression to use the IO::Compress/IO::Uncompress and Compress::Raw::Zlib family of modules. - lwp-request should use stderr for auth [RT#21620] 5.833 2009-10-06 - 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] - Improve diagnostics from LWP::UserAgent::mirror [RT#48869] - mirror should die in case X-Died is set [RT#48236] - Increase default Net::HTTP max line length to 8k. 5.832 2009-09-21 - 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. - $mess->content_charset would fail for empty content - Further restrict what variables env_proxy() process 5.831 2009-08-13 - Fix bzip2 content encoding/decoding. - send_te() doc grammar fix. - Document time2str() behavior with an undefined argument. - HTML::Message's content_charset trigger warnings from HTML::Parser [RT#48621] 5.830 2009-07-26 - select doesn't return undef on failure [RT#32356] - Add raw RFC 1951 deflate test case. 5.829 2009-07-07 - 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". - 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 - Tidy and document the internals of mirror() better [RT#23450] - Avoid warnings from HTML::Form [RT#42654] 5.828 2009-06-25 - A quick new release to restore compatibility with perl-5.6. - Less noisy behaviour when we can't download the documents - Restore perl-5.6 compatibility [RT#47054] - Don't decode US-ASCII and ISO-8859-1 content - Some versions of Encode don't support UTF-16-BE [RT#47152] - Spelling fixes. 5.827 2009-06-15 - 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. - 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 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' - Support "accept-charset" attribute in HTML::Form - new tests for max_size and 206 responses [RT#46230] - Reformulation of Client-Warning: Internal documentation 5.826 2009-04-24 - Avoid returning stale Content-Type header after message parts have been updated - Don't let content saved to file be affected by the $\ setting - Issues around multipart boundaries [RT#28970] - Ignore random _proxy env variables, allow only valid schemes - README.SSL is not anymore available at the linpro.no URL. - Make LWP::UserAgent constructor honor the default_headers option [RT#16637] 5.825 2009-02-16 - Fixup test failure with perl-5.8.8 and older; qr/$/m doesn't work 5.824 2009-02-13 - Make format_request() ensure that it returns bytes [RT#42396] - Force bytes in all the format_* methods. - Ignore Sitemap: lines in robots.txt [RT#42420] - Refactor; use variable to hold the test port - Add redirects method to HTTP::Message - Setting $ua->max_redirect(0) didn't work [RT#40260] - Convert files to UTF-8 - HTTP::Cookies destructor should not clobber $! and other globals. - Deal with the Encode module distributed with perl-5.8.0 - Avoid failure if 127.0.0.1:8333 is in use [RT#42866] - Documentation improvements, spelling fixes. 5.823 2008-12-05 - Bring back the LWP::Debug code [RT#41759] - Add documentation section about 'Network traffic monitoring'. - Typo fixes - Want to ensure we get a single value back here. 5.822 2008-12-05 - A more modern user_agent example. - Make it possible to unset the proxy settings again - Prefer use specified Content-Length header [RT#41462] - Deprecate LWP::Debug 5.821 2008-11-25 - Various bug fixes. - The Content-Length and Content-MD5 headers are no longer valid after encode/decode - Add META information - croak on bad proxy args [RT#39919] - Skip a failing decoded_content on systems without Encode.pm [RT#40735] - Skip LWP test when fork() is unimplemented - redo used incorrectly in LWP::Protocol::http [RT#41116] - HTTP::Cookies::Microsoft now handles user names with space [RT#40917] - Avoid aborting requests saved to file early [RT#40985] 5.820 2008-11-05 - Main news is the ability to control the heuristics used to determine the expiry time for response objects. - Reformat later parts of Changes - Add a paragraph to summarize the motivation for releases since 5.815 - all_pod_files_ok(); - Fix POD markup error - Calculation of current_age with missing Client-Date. - The age/freshness methods now take an optional 'time' argument - More correct matching of 'max-age' in freshness_lifetime method - The freshness_lifetime method now support options to control its heuristics 5.819 2008-10-20 - Release 5.815 to 5.818 had a severe bug that sometimes made LWP not collect all data for the responses it received. This release is strongly recommended as an upgrade for those releases. - Don't override $Net::HTTPS::SSL_SOCKET_CLASS if it's already set. - Wrong content handlers would sometimes be skipped [RT#40187] 5.818 2008-10-16 - Main news in this release is the addition of the dump() method to the request and response objects. If found that I often ended up printing $resp->as_string for debugging and then regretting after the terminal got into a strange mode or just kept on scrolling for the longest time. - Use deflate compression instead of gzip for the test - Simplify; Get rid of the $USE_STORABLE_DCLONE configuration - Add dump method to HTTP::Message. - Use $res->dump instead of rolling our own. - Layout change; move headers() methods to a more logical place. - Add support for x-bzip2 encoding; fix bzip2 decoding. - Add send_header method to HTTP::Daemon - Make the lwp-request User-Agent string include the LWP version. - clone implemented in terms of Storable::dclone [RT#39611] 5.817 2008-10-10 - This is the release where I played around with Devel::NYTProf to figure where time was actually spent during the processing of requests with LWP. The methods that manipulated header objects stood out, so this release contains a few tweaks to make those parts faster. - I also figured a few convenience methods to encode and decode the content of request/response objects would be in order. - Should store "wire" headers field names with _ without translation. - Test HTTP::Request->parse(). - Restore pre-5.815 behaviour of returning "400 Bad Request" [RT#39694] - Rename the HTTP::Status constants to have HTTP_ prefix - Detection of unsupported schemes was broken [RT#37637] - Allow tainted methods to be forwarded to HTTP::Headers [RT#38736] - Add strict mode to HTML::Form - Fix test now that less warnings are generated. - Add content_is_xml method - Make split_header_words() lower case returned tokens/keys - Avoid invoking AUTOLOAD on object destruction [RT#39852] - Add decode() method to HTTP::Message - Add encode() method to HTTP::Message - Allow multiple fields to be set with push_header(). - Make content_type and content_is_xhtml methods faster - Faster push_header() 5.816 2008-09-29 - Oops, release 5.815 broke download-to-file on Windows. - Add missing binmode() [RT#39668] - Doc tweaks 5.815 2008-09-24 - The main change this time is the introduction of handlers to drive the processing of requests in LWP::UserAgent. You can also register your own handlers for modifying and processing requests or responses on their way, which I think is a much more flexible approach that trying to subclass LWP::UserAgent to customize it. If we have had these early on then the LWP::UserAgent API could have been so much simpler as the effect of most current attributes can easily be set up with trivial handlers. - Also thanks to contributions by Bron Gondwana LWP's Basic/Digest auth modules now registers handlers which allow them to automatically fill in the Authorization headers without first taking the round-trip of a 401 response when LWP knows the credentials for a given realm. - We don't need to build the docs to run the tests. - Style tweaks. - The jigsaw service isn't up to much good these days. - HTTP::Cookies produces warnings for undefined cookie param names [RT#38480] - Typo fix; HTTP::Message will never include x-bzip2 in Accept-Encoding [RT#38617] - Added HTTP::Config module - Add methods to configure processing handlers. - 100 Continue response not complete. - Use 3-arg open when response content to files. - Make the show_progress attribute official (by documenting it). - Start using handlers for driving the inner logic of LWP::UserAgent. - Expose the content_is_html and content_is_xhtml methods from HTTP::Headers. - Make credentials method able to get/set values. - An auth handler per realm. - Match proxy setting for request. - Set up separate handler for adding proxy authentication. - Add request_preprepare to be able to initialize proxy early enough. - Smarter get_my_handler() that can also create handlers. - Refactor; introduce run_handlers method - Pass in handler hash to the handler callback. - Don't let version=1 override behaviour if specified with a plan Set-Cookie header. - Remove handler when we don't have a username/password for the realm. - Make tests use Test.pm - Double-check that username or password has changed after a failed login. - Update Digest Authen to subclass Basic. - Avoid running out of filehandles with DYNAMIC_FILE_UPLOAD. - Fixed parsing of header values starting with ':' [RT#39367] - Documentation typo fixes [RT#38203] 5.814 2008-07-25 - Typo fix. - Add HTTP::Message::decodable() - Use decoded_content in the synopsis - Avoid adding an empty first part in $mess->add_part() - Get rid of all the manual dependency tests. - Simplify the Makefile.PL (no interactivity) - Provide DELETE method in HTTP::Request::Common [RT#37481] - Checkbox picks up nearby text in description of alternates [RT#36771] - HTML::Form::possible_values() should not returned disabled values [RT#35248] - File::Listing documentation claimed only 'unix' format was supported [RT#22021] - File::Listing only support English locales [RT#28879] - Make common-req.t use Test.pm - Typo; CAN_TALK_TO_OUTSELF - Fix up File::Listings fallback to dosftp [RT#23540] - File::Listing parse failure on BSD Linux based systems [RT#26724] 5.813 2008-06-17 - RobotUA constructor ignores delay, use_sleep [RT#35456] - Spelling fixes [RT#35457] - Add HTTP::Response->filename [RT#35458] - Better diagnostics when the HTML::TokeParser constructor fails [RT#35607] - Multiple forms with same-named for compatibility with other browsers. Patch by Josh Rai . - HTML::Form: Sane handling of 'disabled' for ListInput. Based on patch by Joao Lopes . - HTTP::Negotiate: Fixed matching of partial language tags. Dan Kubb. - HTTP::Response: The as_string method now returns a status line that doesn't add the "official" code name in the message field. This improves the ability to round-trip response objects via HTTP::Response->parse($res->as_string) and makes the first line of the string returned agree with $res->status_line. - Net::HTTP: The host attribute can now be set undef in order to suppress this header for HTTP/1.0 requests. - Net::HTTP: The default Host: header does not include the port number if it is the default (80 for plain HTTP). Some servers get confused by this. - Net::HTTP: Ignore bogus Content-Length headers. Don't get confused by leading or trailing whitespace. - LWP::Protocol::http: More efficient sending of small PUT/POST requests by trying harder to pass off the whole request in a single call to syswrite. - lwp-request now give better error messages if you used the -o option without having the HTML-Tree distribution installed. Also document this dependency. 5.804 2005-12-06 - HTTP::Message->parse did not work when the first line of the body was something that looked like a header. - HTTP::Header::Auth needs HTTP::Headers to be loaded before it replace its functions. - LWP::Protocol::nntp improvements by Ville Skyttä : - Support the nntp: scheme. - Support hostname in news: and nntp: URIs. - Close connection and preserve headers also in non-OK responses. - HEAD support for URIs identifying a newsgroup. - Comment spelling fixes. - Fix quotes in Net::HTTP example. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=283916 - Detect EOF when expecting a chunk header. Should address the warnings shown in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286775 - WWW::RobotRules: Improved parsing of not strictly valid robots.txt files contributed by . - Makefile.PL: Set name to LWP so that the .packlist ends up in the expected place. 5.803 2004-12-11 - HTTP::Message: $mess->decoded_content sometimes had the side effect of destroying $mess->content. - HTTP::Message: $mess->decoded_content failed for "Content-Encoding: deflate" if the content was not in the zlib-format as specified for the HTTP protocol. Microsoft got this wrong, so we have to support raw deflate bytes as well. - HTTP::Response->parse don't require the protocol to be specified any more. This allows HTTP::Response->parse($resp->as_string) to round-trip. Patch by Harald Joerg . - HTTP::Response: $resp->base might now return undef. Previously it would croak if there was no associated request Harald Joerg - HTML::Form now support