|
|
|
|
#1 |
|
Junior Member
Join Date: May 2003
Posts: 19
|
Pushing Last-Modified HTTP header
I also have a good idea for NSISdl:
So that people can check timestamps of files and not download them if they are older than a local version, the HTTP header value for Last-Modified should be converted to a consistent date stamp and pushed on the stack so users can compare file times. The time stamps may not be that meaningful when comparing to a local file, but if you are updating files over http, you can compare the timestamp of the file when you first downloaded it, with the timestamp of a file you got from an HTTP HEAD request. Oh yeah, and there should be a nsisdl::getheader "http://..." so you can get the headers without transferring the file. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|