Last active
August 29, 2015 14:03
-
-
Save hirose31/7f934f5e21917200f056 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/berkshelf/community_rest.rb b/lib/berkshelf/community_rest.rb | |
index 42c51d2..b791f23 100644 | |
--- a/lib/berkshelf/community_rest.rb | |
+++ b/lib/berkshelf/community_rest.rb | |
@@ -75,6 +75,7 @@ def initialize(uri = V1_API, options = {}) | |
options[:builder] ||= Faraday::RackBuilder.new do |b| | |
b.response :parse_json | |
b.response :gzip | |
+ b.response :follow_redirects | |
b.request :retry, | |
max: @retries, | |
interval: @retry_interval, | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment