summaryrefslogtreecommitdiff
path: root/lisp/url/url-http.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r--lisp/url/url-http.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 3a0fbf6ecd6..872ea22ce05 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -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