Skip to content

Commit 051a45c

Browse files
authored
🔀 Merge pull request #192 from iamibi/update-url-in-consumer
Updated URLs in consumer.rb to use https instead of http
2 parents 5c1f9b2 + fd7a276 commit 051a45c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/oauth/consumer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Consumer
3939

4040
:proxy => nil,
4141
# How do we send the oauth values to the server see
42-
# http://oauth.net/core/1.0/#consumer_req_param for more info
42+
# https://oauth.net/core/1.0/#consumer_req_param for more info
4343
#
4444
# Possible values:
4545
#
@@ -193,7 +193,7 @@ def request(http_method, path, token = nil, request_options = {}, *arguments)
193193
return nil if block_given? and yield(req) == :done
194194
rsp = http.request(req)
195195
# check for an error reported by the Problem Reporting extension
196-
# (http://wiki.oauth.net/ProblemReporting)
196+
# (https://wiki.oauth.net/ProblemReporting)
197197
# note: a 200 may actually be an error; check for an oauth_problem key to be sure
198198
if !(headers = rsp.to_hash["www-authenticate"]).nil? &&
199199
(h = headers.select { |hdr| hdr =~ /^OAuth / }).any? &&

0 commit comments

Comments
 (0)