Commit graph

41 commits

Author SHA1 Message Date
wiz
6fb0e9170e Update to 6.06:
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.
2014-05-15 09:41:22 +00:00
ryoon
83652c139f Update to 6.05
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
2013-04-21 11:55:38 +00:00
abs
9291d95181 Updated www/p5-libwww to 6.04
_______________________________________________________________________________
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
2012-03-04 13:49:04 +00:00
spz
d850778463 from CHANGES:
--- 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.
2011-08-05 19:38:47 +00:00
sno
0f84617d1d Updating www/p5-libwww from 5.836nb1 to 5.837
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
2010-09-21 21:12:39 +00:00
seb
f8f0cc6c76 Update p5-libwww from version 5.834 to version 5.836.
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
2010-05-24 18:43:13 +00:00
wiz
a5246a196a Update to 5.834:
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]
2009-12-15 13:41:44 +00:00
sno
faf017d46c Updating www/p5-libwww from 5.832 to 5.833
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.
2009-10-24 16:08:44 +00:00
sno
3971174d58 Updating www/p5-libwww from 5.831 to 5.832
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
2009-09-22 18:02:23 +00:00
sno
c8aeb94744 Updating package for p5 module LWP (www/p5-libwww) from 5.830 to 5.831
Upstream changes:
2009-08-13  Release 5.831

Ville Skytt"a (3):
      Fix bzip2 content encoding/decoding.
      send_te() doc grammar fix.
      Document time2str() behavior with an undefined argument.

Gisle Aas (1):
      HTML::Message's content_charset trigger warnings from HTML::Parser [RT#48621]
2009-08-18 14:36:41 +00:00
sno
b1078788b0 Updating package for p5 module LWP from 5.829 to 5.830
Upstream changes:
2009-07-26  Release 5.830
Gisle Aas (1):
      select doesn't return undef on failure [RT#32356]
Ville Skyttae (1):
      Add raw RFC 1951 deflate test case.
2009-07-28 06:36:31 +00:00
sno
7ead83dc6d pkgsrc changes:
- 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]
2009-07-15 06:33:46 +00:00
sno
b6fbd099f4 pkgsrc changes:
- 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
2009-07-07 19:40:30 +00:00
sno
f81d19317c PkgSrc changes:
- Updating package for p5 module LWP to 5.826 from 5.825

Upstream changes:
2009-04-24  Release 5.826

Gisle Aas (2):
      Avoid returning stale Content-Type header after message parts have been updated
      Don't let content saved to file be affected by the $\ setting

Graeme Thompson (1):
      Issues around multipart boundaries [RT#28970]

Mike Schilli (1):
      Ignore random _proxy env variables, allow only valid schemes

Slaven Rezic (1):
      README.SSL is not anymore available at the linpro.no URL.

john9art (1):
      Make LWP::UserAgent constructor honor the default_headers option [RT#16637]
2009-04-29 07:39:37 +00:00
wiz
bcae6a6572 Update to 5.825:
Zefram (1):
      Fixup test failure with perl-5.8.8 and older; qr/$/m doesn't work
2009-02-22 15:50:25 +00:00
wiz
3deb9177a9 Update to 5.824:
2009-02-13  Release 5.824

Gisle Aas (7):
      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

Zefram (2):
      HTTP::Cookies destructor should not clobber $! and other globals.
      Deal with the Encode module distributed with perl-5.8.0

Ian Kilgore (1):
      Avoid failure if 127.0.0.1:8333 is in use [RT#42866]

Ville Skyttä (1):
      Documentation improvements, spelling fixes.



2008-12-05  Release 5.823

Gisle Aas (4):
      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.
2009-02-21 14:04:05 +00:00
he
8c19d442ff Update from version 5.820 to 5.822.
Upstream changes:

2008-12-05  Release 5.822

Gisle Aas (4):
      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

2008-11-25  Release 5.821

Various bug fixes.

Gisle Aas (3):
      The Content-Length and Content-MD5 headers are no longer
        valid after encode/decode
      Add META information
      croak on bad proxy args [RT#39919]

Slaven Rezic (1):
      Skip a failing decoded_content on systems without Encode.pm [RT#40735]

Steve Hay (1):
      Skip LWP test when fork() is unimplemented

Yuri Karaban (1):
      redo used incorrectly in LWP::Protocol::http [RT#41116]

jefflee (1):
      HTTP::Cookies::Microsoft now handles user names with space [RT#40917]

ruff (1):
      Avoid aborting requests saved to file early [RT#40985]
2008-12-16 23:07:50 +00:00
wiz
2d4e865483 Update to 5.820:
2008-11-05  Release 5.820

Main news is the ability to control the heuristics used to determine
the expiry time for response objects.


Gisle Aas (8):
      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
2008-11-10 16:45:48 +00:00
obache
3d30cc1bdf Update p5-libwww to 5.819.
Pkgsrc changes:
Fixes "libwww-aliases" option, reported by PR 39776.
The knob for command aliases was changed when update to 5.815(?),
it is disabled by default, and libwww-alias option is no effect since the update.
So remove it from PKG_SUGGESTED_OPTIONS.

Changes:

2008-10-20

     Release 5.819

     Gisle Aas (2):
           Don't override $Net::HTTPS::SSL_SOCKET_CLASS if it's already set.
           Wrong content handlers would sometimes be skipped [RT#40187]



2008-10-16

     Release 5.818

     Gisle Aas (8):
           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.

     Slaven Rezic (1):
           clone implemented in terms of Storable::dclone [RT#39611]
2008-10-21 13:12:27 +00:00
wiz
bfa6a77129 Update to 5.817:
2008-10-10

     Release 5.817

     Gisle Aas (16):
           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()



2008-09-29

     Release 5.816

     Gisle Aas (2):
           Add missing binmode() [RT#39668]
           Doc tweaks



2008-09-24

     Release 5.815

     Gisle Aas (23):
           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

     Bron Gondwana (2):
           Double-check that username or password has changed after a failed login.
           Update Digest Authen to subclass Basic.

     Ondrej Hanak (1):
           Avoid running out of filehandles with DYNAMIC_FILE_UPLOAD.

     Todd Lipcon (1):
           Fixed parsing of header values starting with ':' [RT#39367]

     amire80 (1):
           Documentation typo fixes [RT#38203]
2008-10-14 14:51:22 +00:00
he
c4d874a447 Update from version 5.812 to 5.814.
Should fix PR#39230.

Pkgsrc changes:
 o Remove patch-aa, which appears to no longer be needed

Upstream changes:

     Release 5.814

     Gisle Aas (13):
           Typo fix.
           Add HTTP::Message::decodable()
           Use decoded_content in the synposis
           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

     Bill Mann (1):
           Fix up File::Listings fallback to dosftp [RT#23540]

     Hans-H. Froehlich (1):
           File::Listing parse failure on BSD Linux based systems [RT#26724]



2008-06-17   Gisle Aas <gisle@ActiveState.com>

     Release 5.813

     Ville Skytta (3):
           RobotUA constructor ignores delay, use_sleep [RT#35456]
           Spelling fixes [RT#35457]
           Add HTTP::Response->filename [RT#35458]

     Mark Stosberg (2):
           Better diagnostics when the HTML::TokeParser constructor
           fails [RT#35607]
           Multiple forms with same-named <select> parse wrongly [RT#35607]

     Gisle Aas (1):
           Provide a progress method that does something that might be useful.

     Spiros Denaxas (1):
           Documentation typo fix [RT#36132]
2008-09-14 23:14:26 +00:00
wiz
14d1fe507b Update to 5.812:
2008-04-16   Gisle Aas <gisle@ActiveState.com>

     Release 5.812

     Gisle Aas (6):
           Typo fix.
           Simplified Net::HTTP::Methods constructor call.
           Croak if Net::HTTP constructor called with no argument.
           Avoid calling $self->peerport to figure out what the port is.
           5.811 breaks SSL requests [RT#35090]
           Make test suite compatible with perl-5.6.1.

     Toru Yamaguchi (1):
           Wrong treatment of qop value in Digest Authentication [RT#35055]



2008-04-14   Gisle Aas <gisle@ActiveState.com>

     Release 5.811

     Gisle Aas (6):
           Avoid "used only once" warning for $Config::Config.
           Make HTTP::Request::Common::PUT set Content-Length header [RT#34772]
           Added the add_content_utf8 method to HTTP::Message.
           Typo fix.
           Retry syscalls when they fail with EINTR or EAGAIN [RT#34093,32356]
           Allow HTTP::Content content that can be downgraded to bytes.

     Gavin Peters (1):
           HTML::Form does not recognise multiple select items with same name [RT#18993]

     Mark Stosberg (1):
           Document how HTTP::Status codes correspond to the classification functions [RT#20819]

     Robert Stone (1):
           Allow 100, 204, 304 responses to have content [RT#17907]

     sasao (1):
           HTTP::Request::Common::POST suppressed filename="0" in Content-Disposition [RT#18887]



2008-04-08   Gisle Aas <gisle@ActiveState.com>

     Release 5.810

     Gisle Aas (10):
           Small documentation issues [RT#31346]
           Explain $netloc argument to $ua->credentials [RT#31969]
           Make lwp-request honour option -b while dumping links [RT#31347]
           Ignore params for date convenience methods [RT#30579]
           Get rid of all the old CVS $Keyword:...$ templates.  Set $VERSION to 5.810.
           Update Copyright year.
           Drop some sample URLs that were failing.
           Complement the HTTP::Status codes [RT#29619]
           Don't allow HTTP::Message content to be set to Unicode strings.
           Refactor test for Encode.pm

     Ville Skytta (3):
           Spelling fixes [RT#33272]
           Trigger HTML::HeadParser for XHTML [RT#33271]
           Escape status line in error_as_HTML, convert to lowercase [RT#33270]

     Alexey Tourbin (2):
           Typo fix [RT#33843]
           Protocol/file.pm: postpone load of URI::Escape and HTML::Entities [RT#33842]

     Daniel Hedlund (1):
           HTML::Form Module and <button> element clicks

     Adam Kennedy (1):
           HTTP::Cookies handle malformed empty Set-Cookie badly [RT#29401]

     Jacob J (1):
           [HTTP::Request::Common] Does not handle filenames containing " [RT#30538]

     Rolf Grossmann (1):
           Allow malformed chars in $mess->decoded_content [RT#17368]

     FWILES (1):
           Croak if LWP::UserAgent is constructed with hash ref as argument [RT#28597]

     Adam Sjogren (1):
           Disabled, checked radiobutton being submitted [RT#33512]

     DAVIDRW (1):
           warn if TextInput's maxlength exceeded [RT#32239]
2008-04-22 21:48:58 +00:00
adrianp
eb9736db75 As Darwin can be installed on a case-sensitive file system don't assume
that just because the OS is Darwin we don't want aliases.
This adds an options.mk so that if users want to they can install the
aliases on Darwin.
No change in the defaults
2007-11-24 16:17:46 +00:00
tron
0168d01108 Don't install aliases "GET", "HEAD" and "POST" under Mac OS X.
At least "HEAD" causes problems on a case-insensitive filesystem because
it will be confused with "/usr/bin/head". Bump package revision.
2007-11-23 08:46:32 +00:00
heinz
bbf6e9a476 Changed default behaviour to make the package install the GET, HEAD and
POST symlinks to lwp-request, as suggested in PR pkg/30737.
2007-11-07 09:45:00 +00:00
wiz
50a71bf579 Update to 5.808:
Get rid of t/live/validator test.  Too much JavaScript madness
     for it to be a sane LWP test.
2007-08-29 23:21:49 +00:00
wiz
2dedf9879c Update to 5.807:
2007-07-31   Gisle Aas

     Release 5.807

     Apply patch correction from CPAN RT #26152

     More laxed t/live/validator test.
2007-08-07 06:15:46 +00:00
wiz
160a26c2b2 Update to 5.806:
2007-07-17   Gisle Aas

     Release 5.806

     Added progress callback to LWP::UserAgent.

     HTTP::Daemon didn't avoid content in responses to HEAD requests

     Add support for HTTP Expect header to HTTP::Daemon (CPAN RT #27933)

     Fix t/base/message.t so tests are skipped if Encode is not
     installed.  (CPAN RT #25286)

     Add HTML::Tagset as a prerequisite to Makefile.PL

     Do not clobber $_ in LWP::Protocol::nntp (CPAN RT #25132)

     Fix lwp-download so it can download files with an "_" in the filename
         (CPAN RT#26207)

     Quiet complaints from HTML::HeadParser when dealing with undecoded
     UTF-8 data.  (CPAN RT#20274)

     When both IO::Socket::SSL and Net::SSL are loaded, use the latter
         (CPAN RT #26152)

     Allows SSL to work much more reliably:
         (CPAN RT #23372)

     Allow text/vnd.wap.wml and application/vnd.oasis.opendocument.text
         in content-type field in lwp-request (CPAN RT #26151)

     Add default media type for XML in LWP::MediaTypes (CPAN RT #21093)

     Added chunked test by Andreas J. Koenig
2007-07-28 08:50:09 +00:00
wiz
44156cb63c Update to 5.805:
2005-12-08   Gisle Aas

    Release 5.805

    HTTP::Date: The str2time function returned wrong values for
    years in the early 20th century, because timelocal() actually
    expects the year to be provided on a different scale than what
    localtime() returns.

    HTTP::Headers can now be constructed with field names that repeat.
    The $h->header function now also accept repeating field
    names and can also remove headers if passed undef as value.

    HTML::Form: The parse method now takes hash style optional
    arguments and the old verbose behaviour is now off by default.

    HTML::Form: Accept <select multiple=""> for compatibilty 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.
    Patch contributed by 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.



2005-12-06   Gisle Aas

    Release 5.804

    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

    Makefile.PL: Set name to LWP so that the .packlist ends up in the
    expected place.
2005-12-11 19:17:19 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
wiz
7af0bbd850 Update to 5.803:
2004-12-11   Gisle Aas

    Release 5.803

    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.  Based on
    patch by Harald Joerg.

    HTML::Form now support <label> for check- and radio boxes.
    Patch contributed by Dan Kubb.

    Make HTTP::Daemon subclassable, patch by Kees Cook.

    lwp-download allow directory to save into to be specified.
    Patch by Radoslaw Zielinski

    lwp-download will validate filename derived from server
    controlled data and will fail if something looks not
    quite right.



2004-11-30   Gisle Aas

    Release 5.802

    The HTTP::Message object now have a decoded_content() method.
    This will return the content after any Content-Encodings and
    charsets has been decoded.

    Compress::Zlib is now a prerequisite module.

    HTTP::Request::Common: The POST() function created an invalid
    Content-Type header for file uploads with no parameters.

    Net::HTTP: Allow Transfer-Encoding with trailing whitespace.
    <http://rt.cpan.org/Ticket/Display.html?id=3929>

    Net::HTTP: Don't allow empty content to be treated as a valid
    HTTP/0.9 response.
    <http://rt.cpan.org/Ticket/Display.html?id=4581>
    <http://rt.cpan.org/Ticket/Display.html?id=6883>

    File::Protocol::file: Fixup directory links in HTML generated
    for directories.  Patch by Moshe Kaminsky

    Makefile.PL will try to discover misconfigured systems that
    can't talk to themselves and disable tests that depend on this.

    Makefile.PL will now default to 'n' when asking about whether
    to install the "GET", "HEAD", "POST" programs.  There has been
    too many name clashes with these common names.



2004-11-12   Gisle Aas

    Release 5.801

    HTTP::Message improved content/content_ref interaction.  Fixes
    DYNAMIC_FILE_UPLOAD and other uses of code content in requests.

    HTML::Form:
      - Handle clicking on nameless image.
      - Don't let $form->click invoke a disabled submit button.

    HTTP::Cookies could not handle a "old-style" cookie named
    "Expires".

    HTTP::Headers work-around for thread safety issue in perl <= 5.8.4.

    HTTP::Request::Common improved documentation.

    LWP::Protocol: Check that we can write to the file specified in
    $ua->request(..., $file) or $ua->mirror.

    LWP::UserAgent clone() dies if proxy was not set.  Patch by
    Andy Lester

    HTTP::Methods now avoid "use of uninitialized"-warning when server
    replies with incomplete status line.

    lwp-download will now actually tell you why it aborts if it runs
    out of disk space of fails to write some other way.

    WWW::RobotRules: only display warning when running under 'perl -w'
    and show which robots.txt file they correspond to.  Based on
    patch by Bill Moseley.

    WWW::RobotRules: Don't empty cache when agent() is called if the
    agent name does not change.  Patch by Ville Skyttä



2004-06-16   Gisle Aas

    Release 5.800

    HTML::Form will allow individual menu entries to be disabled.
    This was needed to support <input type=radio disabled value=foo>
    and <select><option disabled>foo.

    HTML::Form now avoids name clashes between the <select> and
    <option> attributes.

    HTML::Form now implicitly close <select> elements when it sees
    another input or </form>.  This is closer to the MSIE behaviour.

    HTML::Form will now "support" keygen-inputs.  It will not
    calculate a key by itself.  The user will have to set its
    value for it to be returned by the form.

    HTTP::Headers now special case field names that start with a
    ':'.   This is used as an escape mechanism when you need the
    header names to not go through canonicalization.  It means
    that you can force LWP to use a specific casing and even
    underscores in header names.  The ugly $TRANSLATE_UNDERSCORE
    global has been undocumented as a result of this.

    HTTP::Message will now allow an external 'content_ref'
    to be set.  This can for instance be used to let HTTP::Request
    objects pick up content data from some scalar variable without
    having to copy it.

    HTTP::Request::Common.  The individual parts will no longer
    have a Content-Length header for file uploads.  This improves
    compatibility with "normal" browsers.

    LWP::Simple doc patch for getprint.
    Contributed by Yitzchak Scott-Thoennes

    LWP::UserAgent: New methods default_header() and
    default_headers().  These can be used to set up headers that
    are automatically added to requests as they are sent.  This
    can for instance be used to initialize various Accept headers.

    Various typo fixes by Ville Skyttä

    Fixed test failure under perl-5.005.

    LWP::Protocol::loopback:  This is a new protocol handler that
    works like the HTTP TRACE method, it will return the request
    provided to it.  This is sometimes useful for testing.  It can
    for instance be invoked by setting the 'http_proxy' environment
    variable to 'loopback:'.



2004-04-13   Gisle Aas

    Release 5.79

    HTML::Form now exposes the 'readonly' and 'disabled'
    attribute for inputs.  This allows your program to simulate
    JavaScript code that modifies these attributes.

    RFC 2616 says that http: referer should not be sent with
    https: requests.  The lwp-rget program, the $req->referer method
    and the redirect handling code now try to enforce this.
    Patch by Ville Skyttä

    WWW::RobotRules now look for the string found in
    robots.txt as a case insensitive substring from its own
    User-Agent string, not the other way around.
    Patch by Ville Skyttä

    HTTP::Headers: New method 'header_field_names' that
    return a list of names as suggested by its name.

    HTTP::Headers: $h->remove_content_headers will now
    also remove the headers "Allow", "Expires" and
    "Last-Modified".  These are also part of the set
    that RFC 2616 denote as Entity Header Fields.

    HTTP::Headers: $h->content_type is now more careful
    in removing embedded space in the returned value.
    It also now returns all the parameters as the second
    return value as documented.

    HTTP::Headers: $h->header() now croaks.  It used to
    silently do nothing.

    HTTP::Headers: Documentation tweaks.  Documented a
    few bugs discovered during testing.

    Typo fixes to the documentation all over the place
    by Ville Skyttä

    Updated tests.



2004-04-07   Gisle Aas

    Release 5.78

    Removed stray Data::Dump reference from test suite.

    Added the parse(), clear(), parts() and add_part() methods to
    HTTP::Message.  The HTTP::MessageParts module of 5.77 is no more.

    Added clear() and remove_content_headers() methods to
    HTTP::Headers.

    The as_string() method of HTTP::Message now appends a newline
    if called without arguments and the non-empty content does
    not end with a newline.  This ensures better compatibility with
    5.76 and older versions of libwww-perl.

    Use case insensitive lookup of hostname in $ua->credentials.
    Patch by Andrew Pimlott



2004-04-06   Gisle Aas

    Release 5.77

    LWP::Simple did not handle redirects properly when the "Location"
    header used uncommon letter casing.
    Patch by Ward Vandewege

    LWP::UserAgent passed the wrong request to redirect_ok().
    Patch by Ville Skyttä
    https://rt.cpan.org/Ticket/Display.html?id=5828

    LWP did not handle URLs like http://www.example.com?foo=bar
    properly.

    LWP::RobotUA construct now accept key/value arguments in the
    same way as LWP::UserAgent.
    Based on patch by Andy Lester

    LWP::RobotUA did not parse robots.txt files that contained
    "Disallow:" using uncommon letter casing.
    Patch by Liam Quinn

    WWW::RobotRules now allow leading space when parsing robots.txt
    file as suggested by Craig Macdonald
    We now also allow space before the colon.

    WWW::RobotRules did not handle User-Agent names that use complex
    version numbers.  Patch by Liam Quinn

    Case insensitive handling of hosts and domain names
    in HTTP::Cookies.
    https://rt.cpan.org/Ticket/Display.html?id=4530

    The bundled media.types file now match video/quicktime
    with the .mov extension, as suggested by Michel Koppelaar


    Experimental support for composite messages, currently
    implemented by the HTTP::MessageParts module.  Based on
    ideas from Joshua Hoblitt

    Fixed libscan in Makefile.PL.
    Patch by Andy Lester

    The HTTP::Message constructor now accept a plain array reference
    as its $headers argument.

    The return value of the HTTP::Message as_string() method now
    better conforms to the HTTP wire layout.  No additional "\n"
    are appended to the as_string value for HTTP::Request and
    HTTP::Response.  The HTTP::Request as_string now replace missing
    method or URI with "-" instead of "[NO METHOD]" and "[NO URI]".
    We don't want values with spaces in them, because it makes it
    harder to parse.
2005-02-18 13:28:39 +00:00
abs
36e5338703 Update p5-libwww-perl to 5.76, changes since 5.69 include:
- Revised handling of redirects
    - Documentation updates
    - Improved lwp-download program
    - IIS ftp fixes
    - Many HTML::Form fixes
2004-01-20 13:45:33 +00:00
shell
0708557e6e Updated to p5-libwww-5.69
Changes :
- Include lwptut.pod contributed by Sean M. Burke C<sburke@cpan.org>.
- The lwp-request aliases GET, HEAD, POST where installed when
- no program should be.  Fixed by David Miller <dave@justdave.net>.
- lwp-rget --help don't print double usage any more.
- HTTP::Header::Util is now more reluctant to put quotes around
  token values.
- Net::HTTP: Avoid warning on unexpected EOF when reading chunk
  header.

pkgsrc :
- Updated maintainer email
2003-01-31 10:46:10 +00:00
mjl
ae192d9586 Update p5-libwww to 5.67
HTTP::Cookies::Microsoft, makes it possible for LWP to share MSIE's cookies.
	HTML::Form supports file upload better now.  There are some new methods on
	that kind of input; file(), filename(), content() and headers().
	Net::HTTP avoids exceptions in read_response_headers() with laxed option.
	New LWP::DebugFile, LWP::Authen::Ntml
	The format_chunk() and write_chunk() methods of Net::HTTP did not work.
	The Client-Peer response header is back.
	Make HTTP::Date compatible with perl 5.8.
	Try to avoid to default to overwriting /usr/bin/head on MacOS X when the
	perl install prefix is /usr/bin.
	HTTP::Negotiate doc patch.
2003-01-02 14:42:25 +00:00
martti
982589aa4f Updated p5-libwww to 5.64 (provided by Shell Hung in pkg/15558)
Simplified the Makefile.PL:
   - the scripts are not longer *.PL files
   - don't try to make symlinks for GET, HEAD, POST
     as that has not worked for a long time
   - the GET, HEAD, POST aliases for lwp-request should
     now work on Windows.

HTTP::Cookies:
   - added 'clear_temporary_cookies' method;
     patch by Mike Schilli <schilli1@pacbell.net>.
   - trailing space in old cookie parameters not ignored;
     patch by Ivan Panchenko
   - protect against $SIG{__DIE__} handlers;
     patch by Adam Newby <adam@NewsNow.co.uk>.

LWP::Authen::Digest:
   - abort digest auth session if we fail repeatedly with
     the same username/password.
2002-03-15 12:52:51 +00:00
martti
421675cb9c Updated to 5.63 (provided by Shell Hung in pkg/14954)
- Regen patches
- Add p5-Compress-Zlib to DEPENDS
- Add Compress::Zlib for Net::HTTP::Methods
- LWP::Authen::Digest now use Digest::MD5 instead of MD5
- Net::HTTP new options to the 'read_response_headers' method
- LWP::Protocol::http will now allow certain bad headers
  n the responses it reads.
- LWP::UserAgent: make sure that the 'request' attribute is
  always set on the returned response.
2001-12-15 10:12:40 +00:00
mjl
bbdf18aeec Update to 5.62
The $VERSION of LWP::UserAgent wrapped around.  This confused the
  CPAN indexer.  Bumped the major number to 2 to fix this.

  Net::HTTP did not work well on perl5.003.  The PeerHost argument
  to IO::Socket::INET was not recognized, so we had to use PeerAddr
  instead.  The syswrite() method also required a length argument.

  Net::HTTP did not deal with transfer encoding tokens in a
  case-insensitive way.

  The jigsaw-chunk test failed on MacOS because "\n" is different.
2001-11-30 14:59:28 +00:00
martti
beee8e51c0 Updated to version 5.61 (PR#14613). Changes since 5.53:
- Add HOMEPAGE
- Remove duplicate DEPENDS with p5-URI
- Add patch to avoid interactive questions
- new maintainer
- New Net::HTTPS module
- HTTP/1.1 and SSL supports
- More bugfixs in LWP::*
2001-11-22 09:11:08 +00:00
zuntum
dc15cc0e3a Update p5-libwww to 5.53
2001-04-10   Gisle Aas <gisle@ActiveState.com>

Release 5.53

    LWP::Simple::get() could sometimes return nothing on failure in
    list context.  Now it always returns 'undef'.

    HTTP::Cookies does not request 2 dots on domain names any more.
    New option to hide the Cookie2 header.  Cookie2 header now quote
    the version number. Updated reference to RFC 2965.

    Support for embedded userinfo in http proxy URIs.  It means that
    you know can set up your proxy with things like:
        http_proxy="http://proxyuser:proxypass@proxyhost:port"
    Patch by John Klar <j.klar@xpedite.com>.

    Experimental HTTP/1.1 support.  New module called Net::HTTP that
    provide the lower level interface and a LWP::Protocol::http11
    module that builds on it.  The HTTP/1.1 protocol module must be
    loaded and registered explicitly, otherwise the old and trustworthy
    HTTP/1.0 module will be used.

    LWP::Protocol::GHTTP will try to use the get_headers() methods
    so that it can actually extract all the headers.

2001-03-29   Gisle Aas <gisle@ActiveState.com>

Release 5.52

    HTTP::Header: new method $h->init_header() that will only
    set the header if it is not already set.  Some shuffling
    around in the code.

    LWP::UserAgent will not override 'User-Agent', 'From'
    or 'Range' headers if they are explicitly set in the
    request passed in.

    HTML::Form tries to optimize parsing be restricting the
    tags that are reported by HTML::Parser.  Will need
    HTML::Parser v3.19_93 or better for this to actually
    have any effect.

    LWP::Protocol::ftp now deals with path parameters again.
    It means that you can append ";type=a" to ftp-URI and
    it will download the document in ASCII mode.

    If the server output multiple Location headers on a redirect,
    ignore all but the first one.

    Extract cookies failed on request URIs with empty paths.
    This was only triggered if you used URI objects directly in
    scripts.

    This change was actually part of 5.51:  Fix qop="auth"
    handling for Digest authentication.
    Patch by Dave Dunkin <dave_dunkin@hotmail.com>.

2001-03-14   Gisle Aas <gisle@ActiveState.com>

Release 5.51

    SECURITY FIX: If LWP::UserAgent::env_proxy is called in a CGI
    environment, the case-insensitivity when looking for "http_proxy"
    permits "HTTP_PROXY" to be found, but this can be trivially set by the
    web client using the "Proxy:" header.  The fix applied is that
    $ENV{HTTP_PROXY} is not longer honored for CGI scripts.
    The CGI_HTTP_PROXY environment variable can be used instead.
    Problem reported by Randal L. Schwartz.

    NOTE: It is recommended that everybody that use LWP::UserAgent
          (including LWP::Simple) in CGI scripts upgrade to this release.

    Explicit setting of action on HTML::Form had no effect because
    of a code typo.  Patch by BooK <book@netcourrier.com>.

    HTTP::Daemon: The CONNECT method need special treatment because
    it does not provide a URI as argument (just a "hostname:port").
    The non-upward compatibility warning is that you must now call
    $request->url->host_port to get the host/port string for CONNECT,
    rather than calling $request->url and using the entire string.
    Based on patch from Randal L. Schwartz <merlyn@stonehenge.com>

HTTP::Daemon: Create self URL based on $self->sockaddr.  This works
    better when LocalAddr is used to specify the port number.  Based on
    patch from Ben Low <ben@snrc.uow.edu.au>.

    Avoid potential '<FILE> chunk 1' messages at the end of the response
    'message'.
2001-05-14 16:01:22 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
Renamed from www/p5-libwww/files/md5 (Browse further)