Commit dc524e8b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(url-http-parse-headers): Add :redirect arg-pair

when calling url-retrieve, to indicate a redirect.
parent 497803ed
2005-07-15 Richard M. Stallman <rms@gnu.org>
* url-http.el (url-http-parse-headers): Add :redirect arg-pair
when calling url-retrieve, to indicate a redirect.
* url.el (url-retrieve): The callback function can get an additional
keyword arg pair.
2005-07-04 Lute Kamstra <lute@gnu.org>
Update FSF's address in GPL notices.
......
......@@ -501,8 +501,9 @@ should be shown to the user."
(url-request-data url-http-data)
(url-request-extra-headers url-http-extra-headers))
(url-retrieve redirect-uri url-callback-function
(cons redirect-uri
(cdr url-callback-arguments)))
(cons :redirect
(cons redirect-uri
url-callback-arguments)))
(url-mark-buffer-as-dead (current-buffer))))))
(4 ; Client error
;; 400 Bad Request
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment