Skip to content

Commit

Permalink
Merge pull request #139 from hyfn/fix/decode-gzip-bodies
Browse files Browse the repository at this point in the history
Handle gzipped response bodies with FaradayMiddleware::Gzip
  • Loading branch information
bookernath authored Mar 7, 2017
2 parents 98799e3 + 7304365 commit ae157f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bigcommerce/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def self.build(config)
conn.use Bigcommerce::Middleware::Auth, config
end
conn.use Bigcommerce::Middleware::HttpException
conn.use FaradayMiddleware::Gzip
conn.adapter Faraday.default_adapter
end
end
Expand Down

0 comments on commit ae157f9

Please sign in to comment.