From 0332a3942ab68fc88f15426721c150d7d94c61c9 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 11 Aug 2020 11:55:57 -0700 Subject: Use net/http and openssl instead of net/https net/https just calls openssl and net/http. We can just do that ourselves and avoid the extra layer Signed-off-by: Tim Smith --- lib/chef/http.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/chef/http.rb b/lib/chef/http.rb index bf5361d4b5..650ee73bb7 100644 --- a/lib/chef/http.rb +++ b/lib/chef/http.rb @@ -22,7 +22,8 @@ # require "tempfile" unless defined?(Tempfile) -require "net/https" +require "openssl" unless defined?(OpenSSL) +require "net/http" unless defined?(Net::HTTP) require "uri" unless defined?(URI) require_relative "http/basic_client" require_relative "monkey_patches/net_http" -- cgit v1.2.1