-
Add header reference methods to Mechanize::File so that a reponse object
gets compatible with Net::HTTPResponse.
-
Mechanize#click accepts a regexp or string to click a button/link in the
current page. It works as expected when not passed a string or regexp.
-
Provide a way to only follow permanent redirects (301) automatically:
agent.redirect_ok = :permanent GH #73
-
Mechanize now supports HTML5 meta charset. GH #113
-
Documented various Mechanize accessors. GH #66
-
Mechanize now uses net-http-digest_auth. GH #31
-
Mechanize now implements session cookies. GH #78
-
Mechanize now implements deflate decoding. GH #40
-
Mechanize now allows a certificate and key to be passed directly. GH #71
-
Mechanize::Form::MultiSelectList now implements #option_with and
#options_with. GH #42
-
Add Mechanize::Page::Link#rel and #rel?(kind) to read and test the rel
attribute.
-
Add Mechanize::Page#canonical_uri to read a </tt><link
rel=“canonical”></tt> tag.
-
Add support for Robots Exclusion Protocol (i.e. robots.txt) and
nofollow/noindex in meta tags and the rel attribute. Automatic exclusion
can be turned on by setting:
agent.robots = true
-
Manual robots.txt test can be performed with Mechanize#robots_allowed? and
#robots_disallowed?.
-
Mechanize::Form now supports the accept-charset attribute. GH #96
-
Mechanize::ResponseReadError is raised if there is an exception while
reading the response body. This allows recovery from broken HTTP servers
(or connections). GH #90
-
Mechanize#follow_meta_refresh set to :anywhere will follow meta refresh
found outside of a document’s head. GH #99
-
Add support for HTML5’s rel=“noreferrer” attribute which indicates no
“Referer” information should be sent when following the link.
-
A frame will now load its content when #content is called. GH #111
-
Added Mechanize#default_encoding to provide a default for pages with no
encoding specified. GH #104
-
Added Mechanize#force_default_encoding which only uses
Mechanize#default_encoding for parsing HTML. GH #104