Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: HTTP GET without LWPby sutch (Curate) |
on Jan 13, 2001 at 04:34 UTC ( [id://51522]=note: print w/replies, xml ) | Need Help?? |
update: because of isotope's response to this posting, I've discovered that it is not HTTP/1.1 that is the solution, but providing the Host: header that allows the server to respond with a redirect. Without LWP, you're safer and have less work if you stick to HTTP/1.0 combinded with the Host: header
The page is not available, for whatever reason (probably because of authentication). Request http://login.gatorlink.ufl.edu/authenticate.cgi in a browser and notice that you are redirected to http://login.gatorlink.ufl.edu/retry.cgi? . You're making an HTTP request using HTTP/1.0. So the server responds with the "404 Not Found" page. Change your request to HTTP/1.1 and you will receive a redirect as the response:
In Section
Seekers of Perl Wisdom
|
|