summaryrefslogtreecommitdiff
path: root/lib/chef/monkey_patches/net_http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/monkey_patches/net_http.rb')
-rw-r--r--lib/chef/monkey_patches/net_http.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/monkey_patches/net_http.rb b/lib/chef/monkey_patches/net_http.rb
index 07918a8c1f..42007d23a7 100644
--- a/lib/chef/monkey_patches/net_http.rb
+++ b/lib/chef/monkey_patches/net_http.rb
@@ -5,10 +5,6 @@ module ChefNetHTTPExceptionExtensions
attr_accessor :chef_rest_request
end
-unless defined?(Net::HTTPClientException)
- Net::HTTPClientException = Net::HTTPServerException
-end
-
require "net/http" unless defined?(Net::HTTP)
module Net
class HTTPError