]> git.eshelyaron.com Git - emacs.git/commit
Do not ignore redirections of 301, 302 and 307 status codes
authorNicolas Petton <nicolas@petton.fr>
Thu, 4 Feb 2016 20:43:42 +0000 (21:43 +0100)
committerNicolas Petton <nicolas@petton.fr>
Thu, 4 Feb 2016 20:43:42 +0000 (21:43 +0100)
commit46dfdd831b817ef9e281350043bd4231f2dc5acc
tree0529e0dec506cdfd0605aa9c715d34d6c5f4c29e
parent7a7164ea3eb7b3b7d2f7cfaec4ef73a90e14f735
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.
lisp/url/url-http.el