On Wed, Dec 06, 2000 at 04:38:48PM -0800, Gisle Aas wrote:

> > >    <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.

This would be nice, if documented e.g. for redirect_ok.

> If the number is something else
> than 0 then the page should simply be returned as now.

It would be nice to also have the option to have it refreshed anyway.
It would even be possible to refresh after the specified # of seconds,
with sleep().

  refresh_ok ?
  refresh_immediately_if_faster_than(10) ?

> --Gisle
 
-- 
Reinier Post
TU Eindhoven

Reply via email to