Skip to content

Commit ae157f9

Browse files
authored
Merge pull request #139 from hyfn/fix/decode-gzip-bodies
Handle gzipped response bodies with FaradayMiddleware::Gzip
2 parents 98799e3 + 7304365 commit ae157f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/bigcommerce/connection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def self.build(config)
1818
conn.use Bigcommerce::Middleware::Auth, config
1919
end
2020
conn.use Bigcommerce::Middleware::HttpException
21+
conn.use FaradayMiddleware::Gzip
2122
conn.adapter Faraday.default_adapter
2223
end
2324
end

0 commit comments

Comments
 (0)