TR: code 302
Philippe CROCHAT (pcrochat@sqli.com)
Wed, 19 Jan 2000 14:21:05 +0100
-----Message d'origine-----
De: Philippe CROCHAT=20
Date: mercredi 19 janvier 2000 14:21
=C0: 'Axel R.'
Objet: RE: code 302
the new location is found in the
location : http://the_new_url
header.
thus you have two ways
either program manually the redirection in your programm by searching =
and
parsing the location :=20
header, or simply let LWP do it for you ($ua->redirect(1))
hope that helps
philippe
-----Message d'origine-----
De: Axel R. [mailto:axel584@free.fr]
Date: mercredi 19 janvier 2000 14:02
=C0: libwww@perl.org
Objet: code 302
Hi all,
I'm writing a http client and i've got a 302 status code (RC_FOUND)
I would like know, how find the new URL of the location.
Thank's
Axel R.