Thank you all for your help with this.  I tracked what was going wrong down
and finally got it to work.

It turns out that WWW::Mechanize wasn't sending this header that was needed
by the .NET file/server.

Accept-Language: en-us,en;q=0.5

Thanks again :-)

> -----Original Message-----
> From: Potozniak, Andrew 
> Sent: Friday, July 16, 2004 9:45 AM
> To: '[EMAIL PROTECTED]'; Potozniak, Andrew; [EMAIL PROTECTED]
> Subject: RE: libwww-perl and .NET
> 
> 
> I can't show you the page that I am trying to get at, it's on 
> one of my development servers.  I only get back a 500 error 
> page when I try to access the page.  I have used the command 
> line lwp-request tool, WWW::Mechanize, and LWP::UserAgent, 
> and all of them have returned the same 500 error page.  In 
> any other browser though, the page comes up perfectly fine.  
> 
> This page wasn't written in house, so I don't know if 
> anything tricky is going on behind the scenes.
> 
> > -----Original Message-----
> > From: bruce [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 16, 2004 9:44 AM
> > To: 'Potozniak, Andrew'; [EMAIL PROTECTED]
> > Subject: RE: libwww-perl and .NET
> > 
> > 
> > andrew...
> > 
> > can you access/fetch the page at all... in other words can
> > you create a basic lwp function that returns any of the 
> > page.. show us your test script and the page you're trying to get...
> > 
> > -bruce
> > 
> > 
> > -----Original Message-----
> > From: Potozniak, Andrew [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 16, 2004 6:27 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: libwww-perl and .NET
> > 
> > 
> > This is the best place to hopefully get this question answered
> > 
> > I have a .NET page written that is viewed perfectly through
> > Netscape, IE, FireFox and even Lynxx, but when I try and hit 
> > the page with lwp I get a status 500 error back.
> > 
> > What could be causing such an error?
> > 
> > What is the compliancy level of lwp (i.e. compliant with HTML
> > 4.01 standards)?
> > 
> > Is there any place I can look into that may be able to help
> > me out further?
> > 
> > --------------------------------------------------------------
> > --------------
> > --------
> > Andrew Potozniak
> > Administrative Computing
> > Student Assistant
> > State University of New York at Buffalo
> > Computer Science Major
> > --------------------------------------------------------------
> > --------------
> > --------
> > 
> > "All that is visible must grow beyond itself; extend into the
> > realm of the invisible."  (TRON 1982)
> > 
> > Please avoid sending me Word or PowerPoint attachments.
> > See http://www.gnu.org/philosophy/no-word-attachments.html
> > 
> > 
> 

Reply via email to