From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#26063: 26.0.50; url-insert-file-contents signals error for HTTP 304 response Date: Wed, 15 May 2019 07:41:12 +0200 Message-ID: <87v9ycuvev.fsf@mouse.gnus.org> References: <87shmjwtkw.fsf@luca> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="213997"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 26063@debbugs.gnu.org To: Andreas Politz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 15 07:42:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQmg8-000tWg-TA for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 May 2019 07:42:13 +0200 Original-Received: from localhost ([127.0.0.1]:59938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQmg7-0006DK-O6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 May 2019 01:42:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQmg0-0006D1-T8 for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 01:42:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQmfy-0000Y7-3v for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 01:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQmfx-0000XO-S9 for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 01:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQmfx-0003qX-Nw for bug-gnu-emacs@gnu.org; Wed, 15 May 2019 01:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 May 2019 05:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26063 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 26063-submit@debbugs.gnu.org id=B26063.155789888814747 (code B ref 26063); Wed, 15 May 2019 05:42:01 +0000 Original-Received: (at 26063) by debbugs.gnu.org; 15 May 2019 05:41:28 +0000 Original-Received: from localhost ([127.0.0.1]:50782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQmfQ-0003pn-Ky for submit@debbugs.gnu.org; Wed, 15 May 2019 01:41:28 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQmfO-0003pc-6M for 26063@debbugs.gnu.org; Wed, 15 May 2019 01:41:26 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1hQmfL-0004jY-9z; Wed, 15 May 2019 07:41:25 +0200 In-Reply-To: <87shmjwtkw.fsf@luca> (Andreas Politz's message of "Sat, 11 Mar 2017 19:34:39 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159321 Archived-At: Andreas Politz writes: > Start from emacs -Q . > > 1. Install debbugs (http://elpa.gnu.org/packages/debbugs.html) > 2. Enable url-automatic-caching > 3. M-x debbugs-gnu-search RET change-group RET > > This should pop-up some results in a new buffer. Now hit RET > (debbugs-gnu-select-report) on one of them, which will popup a gnus > buffer displaying the related articles. Close that buffer via q > (gnus-summary-exit). Back in the debbugs buffer, hit RET again, which > will lead to the following (abbreviated) backtrace. > > Debugger entered--Lisp error: (file-error > "http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23906;mboxmaint=yes;mboxstat=yes" > "Not modified") This seems to work for me in Emacs 27. > I think url-insert-file-contents should not raise an error when the > status code is 304, because it just means that the result comes from the > cache, instead of the server. Yup. I seem to recall somebody else fixing the status code issue a while back. Is this still a problem for you? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no