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: Sat, 20 Feb 2016 13:09:25 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bea350e7d94eb052c2c9aab X-Trace: ger.gmane.org 1455951505 25442 80.91.229.3 (20 Feb 2016 06:58:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Feb 2016 06:58:25 +0000 (UTC) To: 22744@debbugs.gnu.org, wmperry@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 20 07:58: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 1aX1Uc-0002oH-6B for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Feb 2016 07:58:14 +0100 Original-Received: from localhost ([::1]:58709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX1Ub-0006ZQ-JL for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Feb 2016 01:58:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX1UV-0006Xq-Q8 for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 01:58:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aX1UR-0006se-Hd for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 01:58:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX1UR-0006sa-DN for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 01:58:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aX1UR-0008Dl-80 for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 01:58: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: Sat, 20 Feb 2016 06:58:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22744 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, wmperry@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145595147531570 (code B ref -1); Sat, 20 Feb 2016 06:58:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Feb 2016 06:57:55 +0000 Original-Received: from localhost ([127.0.0.1]:34475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aX1UJ-0008D8-52 for submit@debbugs.gnu.org; Sat, 20 Feb 2016 01:57:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33906) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWznW-0005Xl-O8 for submit@debbugs.gnu.org; Sat, 20 Feb 2016 00:09:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWznP-0000s5-Vl for submit@debbugs.gnu.org; Sat, 20 Feb 2016 00:09:33 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWznP-0000s1-SJ for submit@debbugs.gnu.org; Sat, 20 Feb 2016 00:09:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWznO-0000Im-2D for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 00:09:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWznL-0000rY-QS for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 00:09:29 -0500 Original-Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:33717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWznK-0000rB-DO for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 00:09:27 -0500 Original-Received: by mail-wm0-x236.google.com with SMTP id g62so93323981wme.0 for ; Fri, 19 Feb 2016 21:09:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=7PT23IBMO8sxRUUA8wsuXf6BuhC3qnx9ZB8nuW0OI1M=; b=Ghy6ZL/Xkeq8mR+KhRBq/L0XpxNBFZ27ehpsMInhmiAZL3zQVk/35GdEle7dLp8HFj uYlPrmlp8aovPfTEo4g1QAJWoYVj1c/pRQihdV0CUapd6arYqAxwxQlGt/26LcuRUDId NG53fCBPLdLszSD9SBtuzxngiTXQoPWmht1zy8CRJxEcW7qGK2KHQsrXRbbULchFBvFR AJBH9wGVFNFd8ZLQF+fBhQpmVvQVYAVQR4kze9i79GyDHQ66bqwTDt0Qa8XguZEo9FvW pnOFzN8cAGi3+Fwt9GuR+7xZ2vD+lejJ9V7pRST5vD20NnquY+cDlqyykakz3yJsvwuO 5L2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=7PT23IBMO8sxRUUA8wsuXf6BuhC3qnx9ZB8nuW0OI1M=; b=eMiFXmVTtqKmnkTGvzxb/vglkXPx0DsV6Z6+Ek/0790FMQGKE95ayECF9la2fDaHEJ eq/uDQ1jQHDopySz6gSlZUcEtBqxZeJcMQjv/dBH4YUXl+CdRna97d0TQG/TsGb+wJ4C PcVWKWhrQQuwF3QTu7sjjaxF93zueAinG1u/1SzJYzk4b8m0nMNs9c4L3eOUo4YPswya BTMJXFUoEMshcwH+n7omm/Y9SSattZXIMY8A3T7OohEPETXsQbdfUcdQkXcn3K++l6KO V2lot6jYxi+tu+MlCDocOSfiNaDeURMQRsTALXvpMldC7xTLyKwNisiKlJ8jj6v3DPww /GVA== X-Gm-Message-State: AG10YORjdBiArfyn3Nq+VDeRphM/tlO5ZdmhiI8yGSGBi8dS+lyGxLUgPNttnfKzzSqJk+YHg91TyQ8sqcMHLg== X-Received: by 10.194.95.40 with SMTP id dh8mr18785584wjb.146.1455944965650; Fri, 19 Feb 2016 21:09:25 -0800 (PST) Original-Received: by 10.27.231.69 with HTTP; Fri, 19 Feb 2016 21:09:25 -0800 (PST) X-Originating-IP: [143.89.244.107] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sat, 20 Feb 2016 01:57:53 -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:113332 Archived-At: --047d7bea350e7d94eb052c2c9aab Content-Type: text/plain; charset=UTF-8 A working snippet is here: https://bpaste.net/show/d2bd28c10f46 The callback paste-callback-bpaste is not invoked. Turning on `url-debug', we can observe that the post response is a mere http header with status 302, and no *data content*. Regards. ************************** In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0, NS apple-appkit-1348.17) of 2015-08-11 on Mango Configured using: `configure --prefix=/usr/local/Cellar/emacs/24.5 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --without-dbus --without-gnutls --with-ns --disable-ns-self-contained' Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: elisp-slime-nav-mode: t eldoc-mode: t which-key-mode: t async-bytecomp-package-mode: t evil-jumper-mode: t evil-leader-mode: t evil-mode: t global-undo-tree-mode: t undo-tree-mode: t evil-local-mode: t override-global-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: ad-handle-definition: `evil-mode' got redefined Source file `/Users/Eddie/.emacs.d/lisp/bundle/dpaste_de-20131015.525/dpaste_de.el' newer than byte-compiled file ad-handle-definition: `find-tag-noselect' got redefined Loading term/xterm...done 6am is refreshing Load-path shadows: /Users/Eddie/.emacs.d/lisp/bundle/helm-20160121.2157/helm-multi-match hides /Users/Eddie/.emacs.d/lisp/bundle/helm-core-20160121.2157/helm-multi-match Features: (shadow sort my-gnus mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils xterm elisp-slime-nav help-mode etags eldoc my-conf my-lisp my-org finder-inf which-key my-paste paste url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap dpaste_de web s ucs-normalize rx time-stamp dash browse-url json url-parse auth-source gnus-util time-date mm-util mail-prsvr password-cache url-vars my-tmux emux my-helm helm helm-source helm-multi-match helm-lib dired helm-config helm-easymenu cl-macs gv async-bytecomp async my-evil evil-jumper evil-leader evil evil-integration undo-tree diff evil-maps evil-commands evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core advice help-fns evil-common windmove thingatpt rect evil-digraphs evil-vars ring my-utils my-graphics use-package diminish bind-key easy-mmode info easymenu eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core package epg-config edmacro kmacro cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 314308 152941) (symbols 48 29606 97) (miscs 40 32 184) (strings 32 47915 121314) (string-bytes 1 1321209) (vectors 16 42457) (vector-slots 8 705376 93653) (floats 8 109 567) (intervals 56 217 74) (buffers 960 12)) --047d7bea350e7d94eb052c2c9aab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
A working snippet is here:

https://bpaste.net/show/d2bd28c10f46
<= br>The callback paste-callback-bpaste is not invoked.

Turning on `ur= l-debug', we can observe that the post response is a mere
http heade= r with status 302, and no *data content*.


Regards.


**************************



In GNU Emacs 24.5.1 = (x86_64-apple-darwin14.4.0, NS apple-appkit-1348.17)
=C2=A0of 2015-08-11= on Mango
Configured using:
=C2=A0`configure --prefix=3D/usr/local/Ce= llar/emacs/24.5
=C2=A0--enable-locallisppath=3D/usr/local/share/emacs/si= te-lisp
=C2=A0--infodir=3D/usr/local/Cellar/emacs/24.5/share/info/emacs = --without-dbus
=C2=A0--without-gnutls --with-ns --disable-ns-self-contai= ned'

Important settings:
=C2=A0 value of $LC_ALL: en_US.UTF-8=
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-= 8-unix

Major mode: Lisp Interaction

Minor modes in effect:=C2=A0 elisp-slime-nav-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 which-key= -mode: t
=C2=A0 async-bytecomp-package-mode: t
=C2=A0 evil-jumper-mod= e: t
=C2=A0 evil-leader-mode: t
=C2=A0 evil-mode: t
=C2=A0 global-= undo-tree-mode: t
=C2=A0 undo-tree-mode: t
=C2=A0 evil-local-mode: t<= br>=C2=A0 override-global-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 elect= ric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t=
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
= =C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-= encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number= -mode: t
=C2=A0 transient-mark-mode: t

Recent messages:
ad-han= dle-definition: `evil-mode' got redefined
Source file `/Users/Eddie/= .emacs.d/lisp/bundle/dpaste_de-20131015.525/dpaste_de.el' newer than by= te-compiled file
ad-handle-definition: `find-tag-noselect' got redef= ined
Loading term/xterm...done
6am is refreshing

Load-path sha= dows:
/Users/Eddie/.emacs.d/lisp/bundle/helm-20160121.2157/helm-multi-ma= tch hides /Users/Eddie/.emacs.d/lisp/bundle/helm-core-20160121.2157/helm-mu= lti-match

Features:
(shadow sort my-gnus mail-extr emacsbug messa= ge format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-par= se rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf= -drums mail-utils
xterm elisp-slime-nav help-mode etags eldoc my-conf my= -lisp my-org
finder-inf which-key my-paste paste url url-proxy url-priva= cy url-expand
url-methods url-history url-cookie url-domsuf url-util mai= lcap dpaste_de
web s ucs-normalize rx time-stamp dash browse-url json ur= l-parse
auth-source gnus-util time-date mm-util mail-prsvr password-cach= e
url-vars my-tmux emux my-helm helm helm-source helm-multi-match helm-l= ib
dired helm-config helm-easymenu cl-macs gv async-bytecomp async my-ev= il
evil-jumper evil-leader evil evil-integration undo-tree diff evil-map= s
evil-commands evil-command-window evil-types evil-search evil-ex
ev= il-macros evil-repeat evil-states evil-core advice help-fns
evil-common = windmove thingatpt rect evil-digraphs evil-vars ring
my-utils my-graphic= s use-package diminish bind-key easy-mmode info
easymenu eieio byte-opt = bytecomp byte-compile cl-extra cconv eieio-core
package epg-config edmac= ro kmacro cl-loaddefs cl-lib tooltip electric
uniquify ediff-hook vc-hoo= ks lisp-float-type mwheel ns-win tool-bar dnd
fontset image regexp-opt f= ringe tabulated-list newcomment lisp-mode
prog-mode register page menu-b= ar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax f= acemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese ti= betan thai tai-viet lao korean
japanese hebrew greek romanian slovak cze= ch european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmp= r-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-f= ace macroexp files
text-properties overlay sha1 md5 base64 format env co= de-pages mule
custom widget hashtable-print-readable backquote make-netw= ork-process
cocoa ns multi-tty emacs)

Memory information:
((co= nses 16 314308 152941)
=C2=A0(symbols 48 29606 97)
=C2=A0(miscs 40 32= 184)
=C2=A0(strings 32 47915 121314)
=C2=A0(string-bytes 1 1321209)<= br>=C2=A0(vectors 16 42457)
=C2=A0(vector-slots 8 705376 93653)
=C2= =A0(floats 8 109 567)
=C2=A0(intervals 56 217 74)
=C2=A0(buffers 960 = 12))

--047d7bea350e7d94eb052c2c9aab--