in reply to Help with LWP::UserAgent
When in doubt, talk to the web server directly:
dws% telnet www.accountancy.smu.edu.sg 80 Trying 202.161.41.246... Connected to iisinternetnlbs.smu.edu.sg. Escape character is '^]'. GET /facultystaff/faculty.htm HTTP/1.0 HTTP/1.1 403 Forbidden Content-Length: 1409 Content-Type: text/html Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Fri, 06 Feb 2004 07:35:37 GMT Connection: close ... <h1>The page must be viewed over a secure channel</h1>
This after successfully pulling up the page in IE 5.5. I suspect that the server is being rude to non IE browsers. Try setting the user agent string to something that looks like what IE might issue. Consult the LWP pod for details.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help with LWP::UserAgent
by PastisALo (Hermit) on Feb 06, 2004 at 08:48 UTC |