Old 13th June 2003, 19:18   #1
banaman8d
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.
banaman8d is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump