|
|
| laziness, impatience, and hubris | |
| PerlMonks |
A Perl module like LWP::UserAgent that gets just response headers, not body, avoiding HEAD request?by Doctrin (Beadle) |
| on Dec 03, 2012 at 18:45 UTC ( #1006926=perlquestion: print w/ replies, xml ) | Need Help?? |
|
Doctrin has asked for the
wisdom of the Perl Monks concerning the following question:
Hello everyone!
Is there a module that just kicks the URL given, and DOES NOT get the contents placed there? All I need to know is response code.
I was about to send HEAD request, but I'm not sure if the remote server process such kind of requests...
So, the idea is to send a GET request, but retreive only response status (or all headers).
Thanx in advance
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||