Treat 302 redirects as if they were 303 redirects
commite6c4a0298eb66e9a9dacd67f9b9a13d8aae97c49
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 00:21:30 +0000 (13 02:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 00:21:30 +0000 (13 02:21 +0200)
tree0499e018f1b6e9941bf3b947a5bb5600e949de7e
parent45c4c03f0d55b4bcca499ca6d55a4ebbcd47bbf9
Treat 302 redirects as if they were 303 redirects

* lisp/url/url-http.el (url-http-parse-headers): Treat 302 as 303,
since this is what the standards recommend these days (bug#25703).
See https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection
lisp/url/url-http.el