httply 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/httply/client.rb +1 -1
- data/lib/httply/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5b10b28c9146a86ff7280b0cc5084fa8b35ec478b13841d0a04cf23a55540a2
|
4
|
+
data.tar.gz: 2a8eb33f5c95a594735472451dd030d4d328ee78ff5d0ecbca72b3248d58e8b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30c051a9e631c11d974bc636cd494f0f7bff03fee3e17de84d7ccfe21d764681b47521df54de6b036b7aaa5bf8c1fa84103ecc8ce357cd6ae120864d58ec4652
|
7
|
+
data.tar.gz: 2fbb9130bb8101e78a1062b0b13ac173e4ec10dff8a30cdc9302ffdc5544bc4158a1fc0ad5ee2bb444b26a80be8a9c776fb44e6b2d47b37b5cebd37e8acdf91b
|
data/lib/httply/client.rb
CHANGED
@@ -68,7 +68,7 @@ module Httply
|
|
68
68
|
|
69
69
|
def setup(path, method: :get, headers: {}, options: {}, as: nil)
|
70
70
|
client_options = options.fetch(:client, {})
|
71
|
-
follow_redirects = options.fetch(:follow_redirects,
|
71
|
+
follow_redirects = options.fetch(:follow_redirects, true)
|
72
72
|
redirect_limit = options.fetch(:redirects_limit, 10)
|
73
73
|
proxy = determine_proxy(options.fetch(:proxy, nil))
|
74
74
|
|
data/lib/httply/version.rb
CHANGED