# \[ANN\] mechanize 2.1.1 Released

**URL:** <https://rubytalk.org/t/ann-mechanize-2-1-1-released/64811>\
**Category:** ruby-talk\
**Created:** [6 February 2012 21:15 UTC](https://rubytalk.org/t/ann-mechanize-2-1-1-released/64811 "2012-02-06T21:15:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Hodel1](https://avatars.discourse-cdn.com/v4/letter/e/a9adbd/32.png) [@Eric\_Hodel1](https://rubytalk.org/u/Eric_Hodel1)\
**Post date:** [6 February 2012 21:15 UTC](https://rubytalk.org/t/ann-mechanize-2-1-1-released/64811/1 "2012-02-06T21:15:15Z")

</div>

mechanize version 2.1.1 has been released!

\* [http://mechanize.rubyforge.org](http://mechanize.rubyforge.org)  
\* [http://github.com/tenderlove/mechanize/tree/master](http://github.com/tenderlove/mechanize/tree/master)

The Mechanize library is used for automating interaction with websites.  
Mechanize automatically stores and sends cookies, follows redirects,  
can follow links, and submit forms. Form fields can be populated and  
submitted. Mechanize also keeps track of the sites that you have visited as  
a history.

=== 2.1.1 / 2010-02-03

\* Bug fixes  
\* Set missing idle\_timeout default. Issue #196  
\* Meta refresh URIs are now escaped (excluding %). Issue #177  
\* Fix charset name extraction. Issue #180  
\* A Referer URI sent on request no longer includes user information  
&nbsp;&nbsp;&nbsp;or fragment part.  
\* Tempfiles for storing response bodies are unlinked upon creation to avoid  
&nbsp;&nbsp;&nbsp;possible lack of finalization. Issue #183  
\* The default maximum history size is now 50 pages to avoid filling up a  
&nbsp;&nbsp;&nbsp;disk with tempfiles accidentally. Related to Issue #183  
\* Errors in bodies with deflate and gzip responses now result in a  
&nbsp;&nbsp;&nbsp;Mechanize::Error instead of silently being ignored and causing future  
&nbsp;&nbsp;&nbsp;errors. Issue #185  
\* Mechanize now raises an UnauthorizedError instead of crashing when a 403  
&nbsp;&nbsp;&nbsp;response does not contain a www-authenticate header. Issue #181  
\* Mechanize gives a useful exception when attempting to click buttons across  
&nbsp;&nbsp;&nbsp;pages. Issue #186  
\* Added note to Mechanize#cert\_store describing how to add certificates in  
&nbsp;&nbsp;&nbsp;case your system does not come with a default set. Issue #179  
\* Invalid content-disposition headers are now ignored. Issue #191  
\* Fix NTLM by recognizing the "Negotiation" challenge instead of endlessly  
&nbsp;&nbsp;&nbsp;looping. Issue #192  
\* Allow specification of the NTLM domain through Mechanize#auth. Issue #193  
\* Documented how to convert a Mechanize::ResponseReadError into a File or  
&nbsp;&nbsp;&nbsp;Page, along with a new method #force\_parse. Issue #176
