Actions
Feature #10179
openNet::HTTP::Get.new("https://google.com").basic_auth(user_name, password) should throw exception stating the need to set use_ssl to true
Status:
Open
Assignee:
-
Target version:
-
Description
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")
Actions
Like0
Like0Like0