1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-17 17:58:46 +00:00

(url-http-parse-headers): Pass redirected URL as a callback argument.

This commit is contained in:
Eli Zaretskii 2005-06-04 18:30:54 +00:00
parent 385a3b9e84
commit 86b21ac359
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-04 Thierry Emery <thierry.emery@free.fr> (tiny change)
* url-http.el (url-http-parse-headers): Pass redirected URL as a
callback argument.
2005-06-04 Kim F. Storm <storm@cua.dk>
* simple.el (line-move): Only call sit-for when moving backwards.

View File

@ -500,7 +500,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
url-callback-arguments)
(cons redirect-uri
(and url-callback-arguments
(cdr url-callback-arguments))))
(url-mark-buffer-as-dead (current-buffer))))))
(4 ; Client error
;; 400 Bad Request