in reply to Re: WWW::Mechanize & HTML
in thread WWW::Mechanize & HTML

click() and submit() failed and now I know why. I used response() to get the following error message.
<HEAD><TITLE>An Error Occurred</TITLE></HEAD> <BODY> <H1>An Error Occurred</H1> 401 Authorization Required </BODY> </HTML>
When I get() the form I do it like this.
get("http://name:password\@www.site.com/page.htm")
So I should already be authorized right? I'm not sure what I'm doing wrong. Any ideas?

Replies are listed 'Best First'.
Re: Re: Re: WWW::Mechanize & HTML
by Anonymous Monk on Oct 08, 2003 at 15:06 UTC
    Actually the get looks like this
    get("http://name:pwd\@www.site.com/subdir/_vti_bin/shtml.exe/post.htm? +106");