Mechanize 2.1 prerelease

mechanize 2.1.pre.1 is up on rubygems.org. Notable improvements over
mechanize 2.0.1 include:

  • Improvements in handling of connections closed by the server including
    a connection
    idle timeout setting and the ability to disable keep-alive
    connections. This addresses
    the “too many connection resets” error.
  • Improvements in cookie handling by Akinori MUSHA including cookie
    behavior like most
    modern browsers, proper TLD cookie domain handling via the domain_name
    gem
  • SSL peer certificate validation is enabled by default.

You can read the full list of changes in the mechanize release notes:

http://mechanize.rubyforge.org/CHANGELOG_rdoc.html#label-2.1+%2F+%3F%3F

You can install the prerelease version of mechanize by running:

gem install mechanize --prerelease

If you find bugs in the prerelease version please file an issue in the
mechanize issues tracker on github:

https://github.com/tenderlove/mechanize/issues