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

People
Owner: Nobody in particular
Requestors: tech [...] askold.net
Cc:
AdminCc:

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



Subject: meta refresh handling
It would be nice to handle Meta/Refreshes like <meta http-equiv=refresh content="1; url=http://www.clx.ru/partner.php"> because when using WWW::Mechanize with such site, i need to parse $mech->content manually. Thank you for attention
Date: Thu, 9 Sep 2004 09:17:12 -0500
From: Andy Lester <andy [...] petdance.com>
To: Guest via RT <bug-WWW-Mechanize [...] rt.cpan.org>
CC: undisclosed-recipients: ;
Subject: Re: [cpan #7591] meta refresh handling
RT-Send-Cc:
On Thu, Sep 09, 2004 at 08:26:52AM -0400, Guest via RT (bug-WWW-Mechanize@rt.cpan.org) wrote: Show quoted text
> > This message about WWW-Mechanize was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=7591 > > > It would be nice to handle Meta/Refreshes like > <meta http-equiv=refresh content="1; url=http://www.clx.ru/partner.php">
How would it be handled? xoa -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
[PETDANCE - Thu Sep 9 10:40:55 2004]: I think it sould be handled like HTTP redirect (ignoring time). If url is different from current and refresh time is less than, for example 10 seconds (should be tuned). Thank you for responding. Show quoted text
> On Thu, Sep 09, 2004 at 08:26:52AM -0400, Guest via RT (bug-WWW- > Mechanize@rt.cpan.org) wrote:
> > > > This message about WWW-Mechanize was sent to you by guest <> via
> rt.cpan.org
> > > > Full context and any attached attachments can be found at: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=7591 > > > > > It would be nice to handle Meta/Refreshes like > > <meta http-equiv=refresh content="1;
> url=http://www.clx.ru/partner.php"> > > How would it be handled? > > xoa
[guest - Thu Sep 9 08:26:49 2004]: Show quoted text
> It would be nice to handle Meta/Refreshes like > <meta http-equiv=refresh content="1; > url=http://www.clx.ru/partner.php"> > > because when using WWW::Mechanize with such site, i need to parse > $mech->content manually. > > Thank you for attention
This is handled in the sense that Meta refresh tags can be found using "find_link()" and "follow_link()", so you don't have to process them manually. This was added in 0.74. Mark