Module: Faraday
- Defined in:
- lib/faraday/gzip/middleware.rb,
lib/faraday/gzip.rb,
lib/faraday/gzip/version.rb
Overview
Middleware to automatically decompress response bodies. If the “Accept-Encoding” header wasn’t set in the request, this sets it to “gzip,deflate” and appropriately handles the compressed response from the server. This resembles what Ruby 1.9+ does internally in Net::HTTP#get. Based on github.com/lostisland/faraday_middleware/blob/main/lib/faraday_middleware/gzip.rb
Defined Under Namespace
Modules: Gzip