Paul <> wrote:
> I am using perl to access specified web pages. this is my code. when I
> run the code, I get the following error: 302 Found. I checked and knew
> this is because of redirect.
> Would you guys tell me how to solve this problem?
"302 Found" isn't an error. It tells you that the page that
you requested temporarily resides somewhere else (for whatever
reasons) and that there's nothing fundamentally wrong. Just go
to the URI you got told about (in the location field of the
response) instead. if you don't believe me go to e.g.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
and look for paragraph 10.3.3. And, by the way, this isn't a
Perl problem but one of how the HTTP protocol works
Regards, Jens
--
\ Jens Thoms Toerring ___
\__________________________
http://toerring.de