Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 7600
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: justin [...] devuyst.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
This is added in 1.04.