Sha256: 06980a7d020e2b7258a5562f6fd44fd67d1fff1abacd9aef4adcd364668fb3f3
Contents?: true
Size: 267 Bytes
Versions: 13
Compression:
Stored size: 267 Bytes
Contents
# module OpenURI # nesc patch otherwise OPENURI blocks redirects to and from https def self.redirectable?(uri1, uri2) uri1.scheme.downcase == uri2.scheme.downcase || (/\A(?:http|https)\z/i =~ uri1.scheme && /\A(?:http|https)\z/i =~ uri2.scheme) end end
Version data entries
13 entries across 13 versions & 1 rubygems