libwww-perl-5b7

Gisle Aas (aas@a.sn.no)
Mon, 5 Feb 1996 21:58:31 +0100


I have used some time this weekend fixing the URI::URL module. I do
believe that it does the right thing now. Since the previous release
did not run properly on perl5.002beta[123] I took this opportunity to
collect together a new release (which unfortunately does not run on
perl5.001m any more). This new release is currently available as:

   http://www.sn.no/~aas/perl/www/libwww-perl-5b7.tar.gz

I hope to fix the remaining high priority things real soon and then we
should be very close to the non-beta 5.00 release (but I'll wait until
the real perl5.002 is out :-).

The ChangeLog says:

 o  Perl5.002 is required now

 o  Rewrite of the URI::URL module (version 4.00)
      - escaping/unsafe stuff redone (and removed)
      - URI::URL::_generic moved out of URL.pm
      - netloc, path, params, query is now stored internally in escaped form
      - new methods for URI::URL::_generic are:
           epath
           eparams
           equery
           path_components
           absolute_path
      - new methods for URI::URL::http are:
           keywords
           query_form
      - new methods for URI::URL::file are:
           newlocal
           local_path
           unix_path
           dos_path
           mac_path
           vms_path

 o  URI::Escape now semi-compile regular expressions (by evaling an
    anonymous sub).  Same techinque is also used in HTML::Entities.

 o  HTTP::Date parser rewritten using regular expressions.

 o  HTTP::Headers->as_string() now croaks if any field values
    contain newline.

 o  HTTP::Status constants use empty prototype.

 o  Font metrics moved to a new subdirectory (lib/Font/Metrics)

 o  Don't use the VERSION script any more (even if it was very clever)

 o  HTML::Entities will now export the names decode_entities() and
    encode_entities().

 o  Andreas Koenig's black patch to HTML::Element.

 o  The HTML::Formatter now knows about <menu> and <dir> tags

 o  The construct "defined ref($arg)" did not work on perl5.002
    becase ref now always return something defined.

 o  LWP::UserAgent sends by default an 'User-Agent' header.

 o  LWP::Simple sends 'User-Agent' header.

 o  Updated the LWP::Socket module to use the new Socket.pm interface.

 o  LWP::Protocol::http sends the new HTTP/1.1 'Host' header.

 o  LWP::Protocol::file use $url->local_path to get a file to open.
    It also inserts a <BASE> tag in directories instead of a redirect.

 o  MIME::Base64 routines can be called as MIME::Base64::encode() and
    MIME::Base64::decode().  Same kind of thing for QuotedPrint.

--
Gisle Aas                                         <aas@a.sn.no>
Schibsted Nett AS                                 http://www.sn.no/~aas/