From: Shiyao Ma <i@introo.me>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 22744@debbugs.gnu.org
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 [thread overview]
Message-ID: <CAJQX3DwP_2=Du26N_C1JY5zBtTGyYQszTizBMDNrJ_7912V+tA@mail.gmail.com> (raw)
In-Reply-To: <87h9h2hirz.fsf@gnus.org>
[-- Attachment #1: Type: text/plain, Size: 903 bytes --]
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method Not 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 HTTP 405.
BTW, possible to do nothing other than firing up the callback when
receiving the HTTP 302 on Line#32 ?
Regards.
[-- Attachment #2: Type: text/html, Size: 1289 bytes --]
next prev parent reply other threads:[~2016-02-21 10:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-20 5:09 bug#22744: 24.5; url-retrieve callback is not invoked when http response content is empty Shiyao Ma
2016-02-20 7:41 ` Lars Ingebrigtsen
2016-02-20 11:15 ` Shiyao Ma
2016-02-21 2:57 ` Lars Ingebrigtsen
2016-02-21 10:51 ` Shiyao Ma [this message]
2016-02-22 3:03 ` Lars Ingebrigtsen
2019-09-24 8:14 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJQX3DwP_2=Du26N_C1JY5zBtTGyYQszTizBMDNrJ_7912V+tA@mail.gmail.com' \
--to=i@introo.me \
--cc=22744@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).