Re: Basic Authorization and Cookies

2004-12-02 Thread Pritesh Sheth
Figured out the problem - was using libwww-perl-5.76 version...I should have realized this when default_headers() was not found for User-Agent. Instead I continued using HTML::Form (instead of Mechanize) and parse() couldn't find decoded_content(). Got the new version and am able to perform the

Basic Authorization and Cookies

2004-12-01 Thread Pritesh Sheth
Hello: I'm able to access a web page using basic authorization. However, when I click a link to go to the next page (without basic authorization), I get an 'Unauthorized' error message. I believe its something to do with cookies which I tried implementing but in vain. Following is the code snip

submitting form value using POST method to a secure site

2004-02-08 Thread Pritesh Sheth
Hello: I'm trying to submit a form with value "abc123?LIST, UID=efg, PWD=hijk~". This works fine when I submit via a browser. But when I try to send the same via the following code - use LWP::UserAgent; $ua = LWP::UserAgent->new; my $req=HTTP::Request->new(POST=>"https://xyz.com/servlet