Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
dc524e8b
Commit
dc524e8b
authored
Jul 15, 2005
by
Richard M. Stallman
Browse files
(url-http-parse-headers): Add :redirect arg-pair
when calling url-retrieve, to indicate a redirect.
parent
497803ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
lisp/url/ChangeLog
lisp/url/ChangeLog
+8
-0
lisp/url/url-http.el
lisp/url/url-http.el
+3
-2
No files found.
lisp/url/ChangeLog
View file @
dc524e8b
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.
...
...
lisp/url/url-http.el
View file @
dc524e8b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment