diff options
| author | Eli Zaretskii | 2005-06-04 18:30:54 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-06-04 18:30:54 +0000 |
| commit | 86b21ac359d97b255561ef36dc995f72a97d6915 (patch) | |
| tree | c32425fecd1bc170084cc28f454a7db649622c18 /lisp | |
| parent | 385a3b9e8437814659e5249edd4d33cefa5d1314 (diff) | |
| download | emacs-86b21ac359d97b255561ef36dc995f72a97d6915.tar.gz emacs-86b21ac359d97b255561ef36dc995f72a97d6915.zip | |
(url-http-parse-headers): Pass redirected URL as a callback argument.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-http.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eb2206642ef..e29f47b9ad9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-06-04 Thierry Emery <thierry.emery@free.fr> (tiny change) | ||
| 2 | |||
| 3 | * url-http.el (url-http-parse-headers): Pass redirected URL as a | ||
| 4 | callback argument. | ||
| 5 | |||
| 1 | 2005-06-04 Kim F. Storm <storm@cua.dk> | 6 | 2005-06-04 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * simple.el (line-move): Only call sit-for when moving backwards. | 8 | * simple.el (line-move): Only call sit-for when moving backwards. |
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 16d51a0258c..2c040e1c445 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el | |||
| @@ -500,7 +500,9 @@ should be shown to the user." | |||
| 500 | (url-request-data url-http-data) | 500 | (url-request-data url-http-data) |
| 501 | (url-request-extra-headers url-http-extra-headers)) | 501 | (url-request-extra-headers url-http-extra-headers)) |
| 502 | (url-retrieve redirect-uri url-callback-function | 502 | (url-retrieve redirect-uri url-callback-function |
| 503 | url-callback-arguments) | 503 | (cons redirect-uri |
| 504 | (and url-callback-arguments | ||
| 505 | (cdr url-callback-arguments)))) | ||
| 504 | (url-mark-buffer-as-dead (current-buffer)))))) | 506 | (url-mark-buffer-as-dead (current-buffer)))))) |
| 505 | (4 ; Client error | 507 | (4 ; Client error |
| 506 | ;; 400 Bad Request | 508 | ;; 400 Bad Request |