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:38:46 +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 1262667679 26545 80.91.229.12 (5 Jan 2010 05:01:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2010 05:01:19 +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 06:01:11 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 1NS1Xa-0006WF-Vu for ged-emacs-devel@m.gmane.org; Tue, 05 Jan 2010 06:01:11 +0100 Original-Received: from localhost ([127.0.0.1]:57515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NS1Xb-0005Ws-PK for ged-emacs-devel@m.gmane.org; Tue, 05 Jan 2010 00:01:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NS158-0001ql-R1 for emacs-devel@gnu.org; Mon, 04 Jan 2010 23:31:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NS153-0001kF-9f for emacs-devel@gnu.org; Mon, 04 Jan 2010 23:31:45 -0500 Original-Received: from [199.232.76.173] (port=52766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NS0Kb-0006w7-0y for emacs-devel@gnu.org; Mon, 04 Jan 2010 22:43:41 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:5316) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRzW1-0007SG-CO for emacs-devel@gnu.org; Mon, 04 Jan 2010 21:51:25 -0500 Original-Received: from mail-fx0-f228.google.com ([209.85.220.228]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRvbr-0004DR-AT for emacs-devel@gnu.org; Mon, 04 Jan 2010 17:41:11 -0500 Original-Received: by fxm28 with SMTP id 28so6881572fxm.26 for ; Mon, 04 Jan 2010 14:39:06 -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=cS9wuXb8ZdeP16s3C5dDZwLt8SzF1c51ieckcP2jeDA=; b=DoUnTrEZbTLs9LKAQ0WsDq5ulVvSbvvlyE1cCESEItweBfVCNwwVRJ9+ZbARCSokKF bhvEQKHXG+SJ4wjAcXMbW1p/NZBJSaVf1iG4m55DCEAfNYXZ6qXfcimKlCZZopdwCjWx l0yKALmG5CuHthCfqCc75kmKBjGveHzwZvxBo= 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=t1j+yzS2DYuAwdOtKN7KU5L9CN5vUlcz/THwFlU6VSuyGvd1gT75p6z/CMJBhVoF0z d98G9vq2LltRaKxYLAIrOLMBMNXbdRAq4BkVxuTL/SVNW9ZmGE8vA8K70yzhClk1um7T 9ctP6BDd5sZ+LCBOhJkQhoWpPEXQdPG1THYFk= Original-Received: by 10.239.130.30 with SMTP id 30mr2745099hbh.130.1262644746241; Mon, 04 Jan 2010 14:39:06 -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:119412 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? Shou= ld 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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 OpenPGP: 1024= D/ED7DAEA6 >