Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
Perl: the Markov chain saw
 
PerlMonks  

Re: Remote file stats ...

by beppu (Hermit)
on Mar 06, 2002 at 22:56 UTC ( [id://149929]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Remote file stats ...

Using the HEAD command that comes with LWP, you can make a HEAD HTTP request which might send back a Last-Modified header. For example (from the shell):

% HEAD http://ax9.org/index.htm 200 OK Connection: close Date: Thu, 07 Mar 2002 04:03:14 GMT Accept-Ranges: bytes ETag: "9046a85-233-3c64116d" Server: Apache/1.3.22 (Unix) mod_perl/1.26 mod_ssl/2.8.5 OpenSSL/0.9.6 +b Content-Length: 563 Content-Type: text/html Last-Modified: Fri, 08 Feb 2002 17:57:01 GMT Client-Date: Thu, 07 Mar 2002 04:03:14 GMT Client-Response-Num: 1 %

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://149929]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.