|
|
Choosing A Webhost: |
Enabling Redirects: msg#00027lang.perl.modules.lwp
Hi everyone, I've got a couple of simple scripts that attempt to log into ebay and my Yahoo account. When I try to login, both scripts return a page that states that I have not enabled my browser to allow automatic redirects. From everything I have read when I use WWW::Mechanize, redirection is automatic. In the event of a POST I need to add that to the list of allowed redirects and I have done so with the following piece of code: push @{$mech->requests_redirectable}, 'POST'; I do that before I try to $mech->get for any URL. Unfortunately that statement doesn't seem to help. Looks like I am missing something very simple...at least I hope so. Can anyone provide some insight into my problem and please provide some sample code that can get more past this problem? Thanks in advance.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: HTML::Tree - doctype bug, documentation update, HTML::Element documentation bug, Andy Lester |
|---|---|
| Next by Date: | Re: URI::javascript and LWP::Protocol::javascipt...who'done it?, Christian Montanari |
| Previous by Thread: | HTML::Tree - doctype bug, documentation update, HTML::Element documentation bug, Terrence Brannon |
| Next by Thread: | Re: Enabling Redirects, Philippe 'BooK' Bruhat |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |