summaryrefslogtreecommitdiff
path: root/lib/chef/http/authenticator.rb
diff options
context:
space:
mode:
authorClaire McQuin <clairemcquin@seamcquin01.local>2014-01-22 17:09:22 -0800
committerClaire McQuin <claire@getchef.com>2014-01-23 16:57:29 -0800
commit50b163117b6a2ca7b3325e207a16c03fd7449dad (patch)
tree32eb50b236a165e8302f399b3a01ba8837527958 /lib/chef/http/authenticator.rb
parent91306695d946656157112e7303bd2945d4f31aeb (diff)
downloadchef-50b163117b6a2ca7b3325e207a16c03fd7449dad.tar.gz
validate streaming file size
Diffstat (limited to 'lib/chef/http/authenticator.rb')
-rw-r--r--lib/chef/http/authenticator.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/http/authenticator.rb b/lib/chef/http/authenticator.rb
index 489675ad66..4255f18cbd 100644
--- a/lib/chef/http/authenticator.rb
+++ b/lib/chef/http/authenticator.rb
@@ -52,6 +52,10 @@ class Chef
nil
end
+ def handle_stream_complete(http_response, rest_request, return_value)
+ [http_response, rest_request, return_value]
+ end
+
def sign_requests?
auth_credentials.sign_requests? && @sign_request
end