Date: | Thu, 9 Sep 2004 17:28:17 -0400 (EDT) |
Subject: | Change get() to handle W:M:Link objects properly. |
From: | "Justin DeVuyst" <justin [...] devuyst.com> |
To: | bug-www-mechanize [...] rt.cpan.org |
At current WWW::Mechanize's get() method does not handle W:M:Link
objects well. It takes the object in without complaining but the
W:M object doesn't behave as expected afterwards. I noticed in
particular that is_html() does not work on a link fetched via a
W:M:Link object.
In the end it would be nice if W:M:get() either errored (like
LWP:UserAgent's) when passed a W:M:Link object or if it just worked.
Right now it doesn't error but it doesn't work either which I found
misleading.
Thanks,
Justin DeVuyst