[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22744: 24.5; url-retrieve callback is not invoked when http response
bug#22744: 24.5; url-retrieve callback is not invoked when http response content is empty
Sun, 21 Feb 2016 13:57:52 +1100
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Shiyao Ma <address@hidden> writes:
> A sample post response:
> 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
Author: Nicolas Petton <address@hidden>
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)
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no