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


Message #23 received at 22744 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Shiyao Ma <i <at> introo.me>
Cc: Nicolas Petton <nicolas <at> petton.fr>, 22744 <at> debbugs.gnu.org
Subject: Re: bug#22744: 24.5; url-retrieve callback is not invoked when http
 response content is empty
Date: Tue, 24 Sep 2019 10:14:04 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> 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.
>
> So that web site wants the redirect to be done with GET instead of POST?
> I don't know what the standard says should happen here...

This was apparently fixed in 2018 like this:

           ('found			; 302
	    ;; 302 Found was ambiguously defined in the standards, but
	    ;; it's now recommended that it's treated like 303 instead
	    ;; of 307, since that's what most servers expect.
	    (setq url-http-method "GET"
		  url-http-data nil))

To I think it's fixed, and I'm closing this bug report.  If you're
seeing a problem here, please reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.