summaryrefslogtreecommitdiff
path: root/lisp/url/url-vars.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/url/url-vars.el')
-rw-r--r--lisp/url/url-vars.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el
index 786b5533bf8..0361e01dfb4 100644
--- a/lisp/url/url-vars.el
+++ b/lisp/url/url-vars.el
@@ -210,7 +210,8 @@ Should be an assoc list of headers/contents.")
(defvar url-request-method nil "The method to use for the next request.")
-(defvar url-mime-encoding-string (and (fboundp 'zlib-decompress-gzipped-region)
+(defvar url-mime-encoding-string (and (fboundp 'zlib-decompress-region)
+ (zlib-available-p)
"gzip")
"String to send in the Accept-encoding: field in HTTP requests.")