From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shiyao Ma Newsgroups: gmane.emacs.bugs Subject: bug#22744: 24.5; url-retrieve callback is not invoked when http response content is empty Date: Sun, 21 Feb 2016 18:51:28 +0800 Message-ID: References: <871t87de23.fsf@gnus.org> <87h9h2hirz.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bfcf874935c7b052c457fad X-Trace: ger.gmane.org 1456079966 21396 80.91.229.3 (21 Feb 2016 18:39:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Feb 2016 18:39:26 +0000 (UTC) Cc: 22744@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 21 19:39:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aXYuX-0003EF-GW for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Feb 2016 19:39:13 +0100 Original-Received: from localhost ([::1]:43250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXYuW-0001C6-Jl for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Feb 2016 13:39:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXYuR-00015H-NS for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 13:39:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXYuN-0002MH-MC for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 13:39:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXYuN-0002MB-HP for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 13:39:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aXYuN-0002K0-BC for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2016 13:39:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Shiyao Ma Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Feb 2016 18:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22744-submit@debbugs.gnu.org id=B22744.14560798938853 (code B ref 22744); Sun, 21 Feb 2016 18:39:03 +0000 Original-Received: (at 22744) by debbugs.gnu.org; 21 Feb 2016 18:38:13 +0000 Original-Received: from localhost ([127.0.0.1]:36558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXYtZ-0002Ij-BS for submit@debbugs.gnu.org; Sun, 21 Feb 2016 13:38:13 -0500 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:37526) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXRby-0006D0-4s for 22744@debbugs.gnu.org; Sun, 21 Feb 2016 05:51:34 -0500 Original-Received: by mail-wm0-f46.google.com with SMTP id g62so126741135wme.0 for <22744@debbugs.gnu.org>; Sun, 21 Feb 2016 02:51:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Zfj02iO5TuZJVSbSGTwxDWYPqon3VV3WAARwzGh3Pdk=; b=tssgqJGd/kK3T2smiXgDMQ24k0mCKrAZqjaw0DLVKwtky3PI5uro2Km5q4kY8Xr/Ch Mv16cPQ+mys/zROKtjE6K5rUFPl7QCnDDmt16cYplblLDioLggfUTLS0SL66OggK8k5H /i+VF0DSmsmy1c7GUKtPdevem6nkSjY7vevFWK5QwvbqUCQYNKNDYAWm5xoyZBurCIhb /wv9uMC/nD/mcQDIZXbj08iNA0Rcci8ejQjoATxQfUEyM37a40tcCN+q2fGh0zg+8QQL ZCo8CJURICISHQCTW5iDiDiqSZ0Mz7WYNUXyZO3LdAQU1mdwoilWFRBbTjshWhpPN82b s1Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Zfj02iO5TuZJVSbSGTwxDWYPqon3VV3WAARwzGh3Pdk=; b=k1QzeGeYR6ryeGgEAirISc6YhZTUrJWlbBCCZlXd/TTeAURDFuq5eLYC3dBq/nK6Xy AQSwlox9BIjTetqL3MwewcNTFS9ZQjjVjuIuitOkHy0tQWsfM8+fpxJXKzIMcI7Re1Zb 5Sg5OMJpMPb4+mzA4nmrVR5aB8q3Yko1EYYTyeDqXeiZku7NxFwfErkvcqzsgiaWemWZ +zC9fEpDIdKdaRYIxEJfD50VVRS6+cbPhI7cPTpunRgtiCN07pEgZLjGg83vRmLncfBe +iuPLRK7C9QkrE9Mo3iglMkWMEaX0vQzjA4l3Ip5UU6RBFnYaVI49qCojMfzJpo4ZWBo SjuA== X-Gm-Message-State: AG10YOSVPr5PZNrbHTviSc9eANQBqnKAwoC1iKkwMT+DdnJP9cu8MeTtWogPFQENBlkWiopBT7P8pMRp88osFg== X-Received: by 10.194.78.175 with SMTP id c15mr22627018wjx.16.1456051888267; Sun, 21 Feb 2016 02:51:28 -0800 (PST) Original-Received: by 10.27.231.69 with HTTP; Sun, 21 Feb 2016 02:51:28 -0800 (PST) X-Originating-IP: [143.89.244.107] In-Reply-To: <87h9h2hirz.fsf@gnus.org> X-Mailman-Approved-At: Sun, 21 Feb 2016 13:38:12 -0500 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: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113422 Archived-At: --047d7bfcf874935c7b052c457fad Content-Type: text/plain; charset=UTF-8 I installed from the git head. For the callback status, it's: (:error (error http 405) :redirect https://bpaste.net/show/9f7b83e91ebc) For the callback buffer, it's: HTTP/1.1 405 METHOD NOT ALLOWED Server: nginx Date: Sun, 21 Feb 2016 10:45:21 GMT Content-Type: text/html Content-Length: 178 Connection: keep-alive Allow: HEAD, OPTIONS, GET X-Cache-Hits: 0 X-Cache-Age: 0 X-Cache-Status: MISS 405 Method Not Allowed

Method Not Allowed

The method is not allowed for the requested URL.

For the url-debug output, it's: https://bpaste.net/show/f5b3e99df8fd ***** So from the url-debug output, the logic is doing wrong. On Line#30, it's doing a *redirect* with post, resulting an HTTP 405. BTW, possible to do nothing other than firing up the callback when receiving the HTTP 302 on Line#32 ? Regards. --047d7bfcf874935c7b052c457fad Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I installed from the git hea= d.


For the callback status, it's:
(:error (error ht= tp 405) :redirect https://= bpaste.net/show/9f7b83e91ebc)


For the callback buffer,= it's:
HTTP/1.1 405 METHOD NOT ALLOWED
Server: nginx
Date: Sun= , 21 Feb 2016 10:45:21 GMT
Content-Type: text/html
Content-Length: 17= 8
Connection: keep-alive
Allow: HEAD, OPTIONS, GET
X-Cache-Hits: 0=
X-Cache-Age: 0
X-Cache-Status: MISS

<!DOCTYPE HTML PUBLIC = "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method N= ot Allowed</title>
<h1>Method Not Allowed</h1>
<= p>The method is not allowed for the requested URL.</p>


=
For the url-debug output, it's:
https://bpaste.net/show/f5b3e99df8fd


=

*****

So from the url-debug output, the logic is doing= wrong. On Line#30, it's doing a *redirect* with post, resulting an HTT= P 405.



BTW, possible to do nothing other than firing u= p the callback when receiving the HTTP 302=C2=A0 on Line#32 ?


Regards.
--047d7bfcf874935c7b052c457fad--