Skip to content

Commit 7304365

Browse files
committed
add FaradayMiddleware::Gzip to the middleware stack to handle requested gzip-encoded bodies
1 parent 98799e3 commit 7304365

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)