develooper Front page | perl.libwww | Postings from August 2008

Mechanize Redirect

From:
Merdinus
Date:
August 9, 2008 03:47
Subject:
Mechanize Redirect

Have seen this issue addressed on this board in the past, but can't
figure out exactly what I need to do.

I'm using WWW::Mechanize and a webpage seems to be redirecting me but
Mechanize doesn't seem to follow it.  I've heard to "Add the header
'Accept: text/html'" but alas I don't know how to add the header, or
what that means.

I suspect the solution is simple belief - but alas I'm not coming up
with it.  Any help would be much appreciated.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About