method

inflater

inflater()
private

Checks for a supported Content-Encoding header and yields an Inflate wrapper for this response’s socket when zlib is present. If the Content-Encoding is unsupported or zlib is missing the plain socket is yielded.

If a Content-Range header is present a plain socket is yielded as the bytes in the range may not be a complete deflate block.