Reinier Post <[EMAIL PROTECTED]> writes:

> > Hi,
> > 
> > can you help me to desolve this problem? is where I have mistake in follow script?
> > 
> > exist A.html and B.html pages. how can I get the source of B.html page if page 
>A.html redirect to B.html like in follow HTML example?
> > 
> > <!doctype html public "-//w3c//dtd html 4.01 transitional//en">
> > <html>
> > <head>
> >    <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
> >    <meta http-equiv="Refresh" content="0; URL=/2000/11/02/">
> 
> Contrary to what you seem to believe, this is not a HTTP redirect.
> It isn't handled by the redirect_ok setting.
> 
> I don't think LWP offers supportfor automatic refreshes.

LWP will let HTML::HeadParser look at the HTML it receives, so these
meta elements actually end up as HTTP headers.  We might try to deal
with:

   Refresh: 0; ...

as if it was a normal 3xx-redirect.  If the number is something else
than 0 then the page should simply be returned as now.

--Gisle

Reply via email to