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: 12867
Status: rejected
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: jesse [...] bestpractical.com
Cc:
AdminCc:

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



Date: Tue, 17 May 2005 22:24:48 -0400
From: Jesse Vincent <jesse [...] bestpractical.com>
To: bug-www-mechanize [...] rt.cpan.org
Subject: "Was I just redirected?"
Download (untitled) / with headers
text/plain 594b
OUTGOING to andy via aim: I think I didn't see an easy way to ask "was I redirected?" Also, the documentation that says that if you want to do complex things with forms, you should be reading up on HTML::Form might want to be a bit clearer. I spent a bunch of time figuring out how to find out what fields my forms had. andy [aim] "Was I just redirected" Instereing. andy [aim] Send mail to bug-www-mechanize willya please? --
From: ask [...] develooper.com
Download (untitled) / with headers
text/plain 181b
FWIW: I'd love to have this feature too. To be most useful to me it'd be able to return a list of the URLs that redirected and which HTTP status they were redirected with. - ask
Download (untitled) / with headers
text/plain 812b
On Tue May 17 22:24:52 2005, jesse@bestpractical.com wrote: Show quoted text
> > OUTGOING to andy via aim: I think I didn't see an easy way to ask > "was I > redirected?" Also, the documentation that > says that > if you want to do complex things with forms, > you > should be reading up on HTML::Form might > want to be > a bit clearer. I spent a bunch of time > figuring out > how to find out what fields my forms had. > andy [aim] "Was I just redirected" Instereing. > > andy [aim] Send mail to bug-www-mechanize willya please?
I think this as useful as well. What do you think the API might look like? I'm having trouble visualizing what would work well. Mark
Download (untitled) / with headers
text/plain 350b
On Wed Jul 12 21:17:22 2006, MARKSTOS wrote: Show quoted text
> I think this as useful as well. What do you think the API might look > like? I'm having trouble visualizing what would work well.
$mech->get("http://boy-do-i-redirect.com"); if ($mech->was_redirected()) { my @redirections = $mech->redirect_urls; ... } As a start, anyway. --- Joe M.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.