Yes I agree with you.

A page is just a page even though it has a meta refresh tag in it.
But it would be very nice to be able to set an option in LWP to automaticly
redirect to the destination page without needing to parse the meta tags, get
the URL, ...

Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]

----- Original Message -----
From: "Tillman, James" <[EMAIL PROTECTED]>
To: "'Octavian Rasnita'" <[EMAIL PROTECTED]>; "Gisle Aas"
<[EMAIL PROTECTED]>
Cc: "Keary Suska" <[EMAIL PROTECTED]>; "Libwww Perl" <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 2:36 PM
Subject: RE: LWP and Javascript?




> -----Original Message-----
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 3:52 PM
> To: Gisle Aas
> Cc: Keary Suska; Libwww Perl
> Subject: Re: LWP and Javascript?
>
>
> Yes, I think this would be a good idea.
> If the timeout is 0, nobody will see that page anyway.
>

I disagree.  A meta tag of "refresh" (even one with a timeout of 0) is not
equivalent to a redirect in all contexts.

For example, a spider that is crawling a site to check for broken links
would need to be able to check the contents of the page that has the
meta-refresh tag on it (since not all browsers honor the meta-refresh tag
and a good webmaster never presents a completely blank web page, even if he
thinks it will never be seen).  Doing an automatic redirect would deny the
robot access to that content, which probably has a link on it for the
browsers who can't handle meta-refresh.  I feel certain there must be other
contexts like this one, but which I can't think of right now.

I would strongly suggest that if the "meta-refresh equals redirect" behavior
is added to LWP, that it be enabled with a parameter (perhaps at object
creation) and disabled by default.

Just my 2 cents worth.

jpt



Reply via email to