Method: HTTParty::ClassMethods#skip_decompression
- Defined in:
- lib/httparty.rb
#skip_decompression(value = true) ⇒ Object
Deactivate automatic decompression of the response body. This will require you to explicitly handle body decompression by inspecting the Content-Encoding response header.
Refer to docs/README.md “HTTP Compression” section for further details.
417 418 419 |
# File 'lib/httparty.rb', line 417 def skip_decompression(value = true) [:skip_decompression] = !!value end |