# HG changeset patch # User Richard M. Stallman # Date 1108375113 0 # Node ID a39aff2f88c46aca7f98b43f3e150f529fe46248 # Parent b99f3d8581c6c7a92e57d8f0124bc2c6aaaa329e (url-http-parse-headers): Test url-automatic-caching. diff -r b99f3d8581c6 -r a39aff2f88c4 lisp/url/url-http.el --- a/lisp/url/url-http.el Mon Feb 14 09:50:38 2005 +0000 +++ b/lisp/url/url-http.el Mon Feb 14 09:58:33 2005 +0000 @@ -413,7 +413,7 @@ ;; 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