diff options
Diffstat (limited to 'lib/open-uri.rb')
-rw-r--r-- | lib/open-uri.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb index a6186fbb2c..8d0353bbc9 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -578,6 +578,12 @@ module URI include OpenURI::OpenRead end + class HTTPS + def proxy_open(buf, uri, options) # :nodoc: + raise ArgumentError, "open-uri doesn't support https." + end + end + class FTP def direct_open(buf, options) # :nodoc: require 'net/ftp' |