From: zzak@... Date: 2015-09-13T03:25:45+00:00 Subject: [ruby-core:70780] [Ruby trunk - Feature #10179] Net::HTTP::Get.new("https://google.com").basic_auth(user_name, password) should throw exception stating the need to set use_ssl to true Issue #10179 has been updated by Zachary Scott. Tracker changed from Bug to Feature ---------------------------------------- Feature #10179: Net::HTTP::Get.new("https://google.com").basic_auth(user_name, password) should throw exception stating the need to set use_ssl to true https://bugs.ruby-lang.org/issues/10179#change-54161 * Author: George Shank * Status: Open * Priority: Normal * Assignee: ---------------------------------------- Alternatively Net::HTTP could just detect https urls and do this for you. I suggest: raise Exception("Accessing https without ssl\n url:#{URL}\n Please use http.use_ssl = true") -- https://bugs.ruby-lang.org/