summaryrefslogtreecommitdiff
path: root/lib/chef/resource/http_request.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/http_request.rb')
-rw-r--r--lib/chef/resource/http_request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/http_request.rb b/lib/chef/resource/http_request.rb
index f53d3e731f..8a1354e6cd 100644
--- a/lib/chef/resource/http_request.rb
+++ b/lib/chef/resource/http_request.rb
@@ -34,7 +34,7 @@ class Chef
property :url, String, identity: true,
description: "The URL to which an HTTP request is sent."
- property :headers, Hash, default: lazy { {} },
+ property :headers, Hash, default: {},
description: "A Hash of custom headers."
def initialize(name, run_context = nil)