diff options
author | jamesc <james@opscode.com> | 2013-11-20 14:58:27 -0800 |
---|---|---|
committer | jamesc <james@opscode.com> | 2013-11-20 14:58:27 -0800 |
commit | 5c7cd1eaa71954156e3e40dc17918a4dae86a4ce (patch) | |
tree | 26cbccc65bf00a158e86cbff2b5ac29975d70b76 /lib/chef/rest.rb | |
parent | db7e67ab8c13a32413bc53c4d985c6f7685fa0b6 (diff) | |
download | chef-5c7cd1eaa71954156e3e40dc17918a4dae86a4ce.tar.gz |
add a doc comment on the purpose of raw_http_request
Diffstat (limited to 'lib/chef/rest.rb')
-rw-r--r-- | lib/chef/rest.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/rest.rb b/lib/chef/rest.rb index 721c396a61..04ee0b0cb2 100644 --- a/lib/chef/rest.rb +++ b/lib/chef/rest.rb @@ -124,6 +124,9 @@ class Chef alias :api_request :request + # Do a HTTP request where no middleware is loaded (e.g. JSON input/output + # conversion) but the standard Chef Authentication headers are added to the + # request. def raw_http_request(method, path, headers, data) url = create_url(path) method, url, headers, data = @authenticator.handle_request(method, url, headers, data) |