[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Downloadiong and file dates
From: |
Lennart Borgman |
Subject: |
Re: Downloadiong and file dates |
Date: |
Mon, 4 Jan 2010 23:56:39 +0100 |
On Mon, Jan 4, 2010 at 11:38 PM, Lennart Borgman
<address@hidden> wrote:
> On Mon, Jan 4, 2010 at 11:20 PM, James Cloos <address@hidden> wrote:
>>>>>>> "Lennart" == Lennart Borgman <address@hidden> writes:
>>
>> Lennart> There is a "Last-Modified" header that perhaps could be used
>> Lennart> for this. Would that be correct use for that header?
>>
>> Yes; that is exactly what most (every?) http client uses to set the
>> mtime on downloaded files.
>
>
> Thanks James.
>
>
>> Lennart> Does url-copy-file take care of "Last-Modified" if present? Should
>> it?
>>
>> It ought to.
>
>
> A simple test of file download from EmacsWiki which uses
> "Last-Modified" for files shows that it does not.
>
> So there are two bugs here, one at Launchpad (does not send
> "Last-Modified") and one in Emacs (does not use "Last-Modified"). I
> will try to report them.
The Launchpad bug report is here:
https://bugs.launchpad.net/launchpad/+bug/503144
>> -JimC
>> --
>> James Cloos <address@hidden> OpenPGP: 1024D/ED7DAEA6
>>
>