GNU bug report logs - #22744
24.5; url-retrieve callback is not invoked when http response content is empty

Previous Next

Package: emacs;

Reported by: Shiyao Ma <i <at> introo.me>

Date: Sat, 20 Feb 2016 06:58:03 UTC

Severity: normal

Found in version 24.5

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Shiyao Ma <i <at> introo.me>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 22744 <at> 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
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.