I have been successfully using a script which goes out to an http server
which redirects to an https server.  This script is getting account balance
information.

Frequently, the server on the other end is down.  It used to just fail.
Now, rather than a redirect there seems to be a "refresh":

<meta http-equiv=refresh content="0;url='/account/unavailable/index.html'">

is there a way to trap for this so I can halt my program?  When the other
end is up I go thru:

while ($response->is_redirect) {

without a problem.

Thanks.

Reply via email to