http header for getting stat data?
Posted: Thu Apr 30, 2009 7:32 am
Hello,
I would like to know what kind of header is sent (assuming this is the case) from the client to request stat data on a file that is on the http server being requested of. What is this header called, and what does it look like?
eg, when using wget with the -N option, it will check the mod time of the file on the server to decide whether to download the file or not.
Also, web browsers (as well as wget, curl, etc) retrieve this information as well to get the file size for progress reports during a download.
Thanks,
Allasso
I would like to know what kind of header is sent (assuming this is the case) from the client to request stat data on a file that is on the http server being requested of. What is this header called, and what does it look like?
eg, when using wget with the -N option, it will check the mod time of the file on the server to decide whether to download the file or not.
Also, web browsers (as well as wget, curl, etc) retrieve this information as well to get the file size for progress reports during a download.
Thanks,
Allasso