From 788bbff36108a6952da19538150e685ae45694d1 Mon Sep 17 00:00:00 2001 From: James Broadhead Date: Mon, 8 May 2017 13:56:34 -0400 Subject: Add support for HTTP PATCH requests Signed-off-by: James Broadhead --- lib/chef/resource/http_request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource') diff --git a/lib/chef/resource/http_request.rb b/lib/chef/resource/http_request.rb index fcc48470bc..9fac3562f3 100644 --- a/lib/chef/resource/http_request.rb +++ b/lib/chef/resource/http_request.rb @@ -27,7 +27,7 @@ class Chef identity_attr :url default_action :get - allowed_actions :get, :put, :post, :delete, :head, :options + allowed_actions :get, :patch, :put, :post, :delete, :head, :options def initialize(name, run_context = nil) super -- cgit v1.2.1