Re: what is better ?

Gisle Aas (aas@bergen.sn.no)
Wed, 24 Jul 1996 17:41:46 +0200


In message <Pine.BSF.3.91.960723202942.290D-100000@glow.myriadagency.com>, Slava Kozlov writes:
> Also you should check for Redirection ($res->code = 301, Moved Permanently
> and $res->code = 302, Moved Temporarily) and start the whole checking thing
> again.

You will almost never see those codes when you send your request with
$ua->request().  Redirects are handled transparently.

Regards,
Gisle


) almost because if the redirects get into a loop, then you will
   receive the last 301 or 302 response before the loop was detected.