GNU bug report logs -
#22744
24.5; url-retrieve callback is not invoked when http response content is empty
Previous Next
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
Shiyao Ma <i <at> introo.me> writes:
> A sample post response:
> https://bpaste.net/show/25777c5fde69
> No response content, the result is merely the http headers.
So you do a POST, and then you get a 302 redirect (which results in a
GET)? I think I remember somebody working on this issue a few weeks
ago...
Oh, yeah:
commit 46dfdd831b817ef9e281350043bd4231f2dc5acc
Author: Nicolas Petton <nicolas <at> petton.fr>
Date: Thu Feb 4 21:43:42 2016 +0100
Do not ignore redirections of 301, 302 and 307 status codes
The current version of HTTP/1.1 (RFC 7231) no longer requires
confirmation on 301, 302 or 307 status codes, therefore we do not have
to ignore redirects for other requests than GET and HEAD.
* lisp/url/url-http.el (url-http-parse-headers): Do not ignore 301, 302
and 307 redirects for other requests than GET and HEAD.
So this probably works in emacs-25 now. Could you download (from git)
and test?
--
(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.