Home » HTTP » HTTP_Client » Bug #5734
Redirect via '<meta http-equiv="Refresh"'
Details
| Request #5734 | Redirect via '<meta http-equiv="Refresh"' |
|---|---|
| Submitted | 2005-10-20 17:09 UTC |
| From | seth at pricepages dot org |
| Assigned | avb |
| Status | Closed |
| Package | HTTP_Client |
| PHP Version | Irrelevant |
| 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.