We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e72a1e6 commit 49b30c9Copy full SHA for 49b30c9
lib/indieweb/endpoints/client.rb
@@ -41,10 +41,10 @@ def endpoints
41
# @raise [IndieWeb::Endpoints::HttpError, IndieWeb::Endpoints::SSLError]
42
def response
43
@response ||= HTTP
44
- .follow(max_hops: 20)
45
- .headers(HTTP_HEADERS_OPTS)
46
- .timeout(connect: 5, read: 5)
47
- .get(uri)
+ .follow(max_hops: 20)
+ .headers(HTTP_HEADERS_OPTS)
+ .timeout(connect: 5, read: 5)
+ .get(uri)
48
rescue HTTP::Error => e
49
raise HttpError, e
50
rescue OpenSSL::SSL::SSLError => e
0 commit comments