all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: James Cloos <cloos@jhcloos.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Downloadiong and file dates
Date: Mon, 4 Jan 2010 23:38:46 +0100	[thread overview]
Message-ID: <e01d8a51001041438y5dbad445r97ad1857cd027dca@mail.gmail.com> (raw)
In-Reply-To: <m3k4vx341n.fsf@lugabout.jhcloos.org>

On Mon, Jan 4, 2010 at 11:20 PM, James Cloos <cloos@jhcloos.com> wrote:
>>>>>> "Lennart" == Lennart Borgman <lennart.borgman@gmail.com> 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.


> -JimC
> --
> James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6
>




  reply	other threads:[~2010-01-04 22:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04  2:07 Downloadiong and file dates Lennart Borgman
2010-01-04 22:20 ` James Cloos
2010-01-04 22:38   ` Lennart Borgman [this message]
2010-01-04 22:56     ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a51001041438y5dbad445r97ad1857cd027dca@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=cloos@jhcloos.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.