Thursday, March 1, 2012

Script mtime on vim.org

Hello all. Is there a way to download a script from vim.org
without losing the timestamp ? So that after downloading a
script, the mtime of the local file reflects the date of upload,
not the date of download.

Not through download_script.php, that's for sure. No
Last-Modified: header there.

$ HEAD http://www.vim.org/scripts/download_script.php?src_id=1
200 OK
Cache-Control: max-age=172800
Connection: close
Date: Fri, 02 Mar 2012 07:49:06 GMT
Via: 1.1 varnish
Age: 0
Server: Apache/2.2.3 (CentOS)
Content-Type: application/octetstream
Expires: Sun, 04 Mar 2012 07:49:06 GMT
Client-Date: Fri, 02 Mar 2012 07:49:06 GMT
Client-Peer: 216.34.181.97:80
Client-Response-Num: 1
Content-Disposition: attachment; filename=test.vim
X-Varnish: 840280852

Thanks in advance.

--
André Majorel http://www.teaser.fr/~amajorel/
Subliminal message : Vim needs arbitrary tab stops.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: