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)



Return-Path: <j [...] bestpractical.com>
X-Original-To: bug-www-mechanize [...] rt.cpan.org
Delivered-To: cpan-bug+www-mechanize [...] diesel.bestpractical.com
Received: by diesel.bestpractical.com (Postfix, from userid 1002) id A96434D8116; Tue, 17 May 2005 22:24:48 -0400 (EDT)
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?"
Message-ID: <20050518022448.GW1607 [...] bestpractical.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
X-RT-Original-Encoding: us-ascii
Content-Length: 594
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? --
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
From: ask [...] develooper.com
X-RT-Original-Encoding: iso-8859-1
Content-Length: 181
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
MIME-Version: 1.0
In-Reply-To: <20050518022448.GW1607 [...] bestpractical.com>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-24552-1152753442-1997.12867-0-0 [...] rt.cpan.org>
References: <20050518022448.GW1607 [...] bestpractical.com>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 812
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
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-24552-1152753442-1997.12867-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-3698-1152921548-610.12867-0-0 [...] rt.cpan.org>
References: <20050518022448.GW1607 [...] bestpractical.com> <rt-3.6.HEAD-24552-1152753442-1997.12867-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 350
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.
MIME-Version: 1.0
In-Reply-To: <20050518022448.GW1607 [...] bestpractical.com>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-9313-1193721313-1090.12867-0-0 [...] rt.cpan.org>
References: <20050518022448.GW1607 [...] bestpractical.com>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 85


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.