1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(url-http-parse-headers): Test url-automatic-caching.

This commit is contained in:
Richard M. Stallman 2005-02-14 09:58:33 +00:00
parent 470cefd341
commit 76bad53408

View file

@ -413,7 +413,7 @@ should be shown to the user."
;; Generic success for all others. Store in the cache, and
;; mark it as successful.
(widen)
(if (equal url-http-method "GET")
(if (and url-automatic-caching (equal url-http-method "GET"))
(url-store-in-cache (current-buffer)))
(setq success t))))
(3 ; Redirection