class HTTParty::Decompressor
def decompress
-
(nil)- when the response body is nil or cannot decompressed -
(String)- the decompressed body
def decompress return nil if body.nil? return body if encoding.nil? || encoding.strip.empty? if supports_encoding? decompress_supported_encoding else nil end end