summaryrefslogtreecommitdiff
path: root/lib/chef/http
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-02-20 16:19:54 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2020-02-20 16:19:54 -0800
commit6362d9fa1b6967c2971992df00eecbb8ae3ae9ca (patch)
tree3a5b2f3f011bb27b07612559beb65b6fcc6ab711 /lib/chef/http
parentc4e3398505aaa188777051c2d5e839b79c53c3e2 (diff)
downloadchef-6362d9fa1b6967c2971992df00eecbb8ae3ae9ca.tar.gz
add require for CGIlcg/unescape
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/http')
-rw-r--r--lib/chef/http/http_request.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/http/http_request.rb b/lib/chef/http/http_request.rb
index 406cd2df81..8ce6bee583 100644
--- a/lib/chef/http/http_request.rb
+++ b/lib/chef/http/http_request.rb
@@ -5,7 +5,7 @@
# Author:: Christopher Brown (<cb@chef.io>)
# Author:: Christopher Walters (<cw@chef.io>)
# Author:: Daniel DeLeo (<dan@chef.io>)
-# Copyright:: Copyright 2009-2016, 2010-2018, Chef Software Inc.
+# Copyright:: Copyright 2009-2016, 2010-2020, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,6 +21,7 @@
# limitations under the License.
#
require "uri" unless defined?(URI)
+require "cgi" unless defined?(CGI)
require "net/http" unless defined?(Net::HTTP)
require_relative "../dist"