PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_Client » Bug #5734

Redirect via '<meta http-equiv="Refresh"'

Details

Request #5734Redirect via '<meta http-equiv="Refresh"'
Submitted2005-10-20 17:09 UTC
Fromseth at pricepages dot org
Assignedavb
StatusClosed
PackageHTTP_Client
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2005-10-20 17:09 UTC] seth at pricepages dot org

Description:
------------
Would it be possible to add redirect support when the
redirect is via:
<META http-equiv="refresh" content="5;<URL>">

and the content-type header is "text/html".

I have already implemented part of this and would be willing
to submit a patch.

[2005-10-30 19:19 UTC] seth at pricepages dot org

Well, patch is here:
http://pricepages.org/pear/Client.metaTag.diff.zip

[2005-11-08 22:38 UTC] seth at pricepages dot org

The file at
http://pricepages.org/pear/Client.metaTag.diff.zip

has been updated with a new patch that should be smarter
about such things.

The 60 second redirect, though, is arbitrary. I figure that
60 seconds is enough time for someone to actually get some
meaningful information off of a page, so therefore the
redirect after that time may be counter-intuitive.

Feel free to change it if you want.