]> code.delx.au - gnu-emacs/blobdiff - lisp/url/url-vars.el
Rename `zlib-decompress-gzipped-region' to `zlib-decompress-region'.
[gnu-emacs] / lisp / url / url-vars.el
index 786b5533bf88a07b966e5000b5a7f8974ab132ef..0361e01dfb473a963f9804f042c08270bd279c55 100644 (file)
@@ -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.")