From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Downloadiong and file dates Date: Mon, 4 Jan 2010 23:56:39 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1262665077 21707 80.91.229.12 (5 Jan 2010 04:17:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2010 04:17:57 +0000 (UTC) Cc: Emacs-Devel devel To: James Cloos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 05 05:17:50 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from terminus-est.gnu.org ([66.92.78.210] helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.50) id 1NS0rW-0001Ts-9F for ged-emacs-devel@m.gmane.org; Tue, 05 Jan 2010 05:17:42 +0100 Original-Received: from localhost ([127.0.0.1]:39626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NS0it-0004At-Gb for ged-emacs-devel@m.gmane.org; Mon, 04 Jan 2010 23:08:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NS0gd-0003DM-Go for emacs-devel@gnu.org; Mon, 04 Jan 2010 23:06:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NS0KF-0006rU-Jf for emacs-devel@gnu.org; Mon, 04 Jan 2010 22:43:25 -0500 Original-Received: from [199.232.76.173] (port=52758 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NS0K9-0006i6-Kk for emacs-devel@gnu.org; Mon, 04 Jan 2010 22:43:13 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:5750) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NS023-0002f4-4H for emacs-devel@gnu.org; Mon, 04 Jan 2010 22:24:31 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.156]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRvt7-0005QN-HX for emacs-devel@gnu.org; Mon, 04 Jan 2010 17:59:01 -0500 Original-Received: by fg-out-1718.google.com with SMTP id 19so6513677fgg.12 for ; Mon, 04 Jan 2010 14:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ay5r96rnd8ovDrDh+x02grC4rS9kUdreaNws9Pw8qYk=; b=MGFM8g0Gzb0+My/QU9CGaOC+gsuwlcaEBjMEPT0JHIz3IZnX7/X7LYcI5wIVPsMb93 k9pT5A0lpb6ayvlmRjnqO7YUOZF3S9WguL889xKnxOyPA3PwxMZVFCb0mnCKDljrggqr RTP1mCjusKQ1mWEnscuy5Fy4CQzCMvJ9rhcKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=cL1mobjaaCXgQkWxm3ROHkGANYOeDgBU7aJNGJ8DKGoT59dBy/s3qXR/WR07JusABx cxQe+6xJE4L12fowlDwzWsncAAzJmVBLXwgSODEmzU2lwoyESpWshjIcDovhfWcidNU5 YSUx11aC5nAkh1iWFmofsU4bKV/nON7+d4ltk= Original-Received: by 10.239.185.6 with SMTP id a6mr379533hbh.31.1262645819086; Mon, 04 Jan 2010 14:56:59 -0800 (PST) In-Reply-To: X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119400 Archived-At: On Mon, Jan 4, 2010 at 11:38 PM, Lennart Borgman wrote: > On Mon, Jan 4, 2010 at 11:20 PM, James Cloos wrote: >>>>>>> "Lennart" =3D=3D Lennart Borgman 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? Sho= uld 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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 OpenPGP: 102= 4D/ED7DAEA6 >> >