SaltwaterC/http-get — Issue #6: Option to preserve timestamps on downloaded files
Author: matt-hickford
Created: 2011-12-27 14:22:51+00:00
State: open

Hi. It would be useful to have an option to preserve the timestamps when downloaded files are saved to this. This happens to be default behaviour of `wget` and other download software http://www.gnu.org/software/wget/manual/wget.html

> By default, when a file is downloaded, it's timestamps are set to match those from the remote file. This allows the use of ‘--timestamping’ on subsequent invocations of wget. However, it is sometimes useful to base the local file's timestamp on when it was actually downloaded; for that purpose, the ‘--no-use-server-timestamps’ option has been provided.

Modern web browsers don't preserve timestamps:
* Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=178506
* Chrome http://code.google.com/p/chromium/issues/detail?id=4574