Function: verb--zlib-decompress-region

verb--zlib-decompress-region is a natively compiled function defined in verb.el.

Signature

(verb--zlib-decompress-region ARGS)

Documentation

Advice ARGS for function zlib-decompress-region.

The function ensures that the ALLOW-PARTIAL argument is always set to nil when the original function is called. Setting it to a non-nil value will make zlib-decompress-region partially decompress contents, which means it can potentially delete a response body if the Content-Encoding header was incorrectly set to gzip when the response body was actually not compressed.

Source Code

;; Defined in /nix/store/8jnfn8w2mxcxbr2crbklcnija9m0zlkq-emacs-packages-deps/share/emacs/site-lisp/elpa/verb-20260818.1921/verb.el
(defun verb--zlib-decompress-region (args)
  "Advice ARGS for function `zlib-decompress-region'.
The function ensures that the ALLOW-PARTIAL argument is always set to
nil when the original function is called.  Setting it to a non-nil
value will make `zlib-decompress-region' partially decompress
contents, which means it can potentially delete a response body if the
`Content-Encoding' header was incorrectly set to `gzip' when the
response body was actually not compressed."
  (list (nth 0 args) (nth 1 args)))