summaryrefslogtreecommitdiff
path: root/lib/chef/rest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/rest.rb')
-rw-r--r--lib/chef/rest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/rest.rb b/lib/chef/rest.rb
index bfc07ebd62..1c5ee6aa84 100644
--- a/lib/chef/rest.rb
+++ b/lib/chef/rest.rb
@@ -66,13 +66,13 @@ class Chef
@authenticator = Authenticator.new(options)
@request_id = RemoteRequestID.new(options)
- @middlewares << ValidateContentLength.new(options)
@middlewares << JSONInput.new(options)
@middlewares << JSONToModelOutput.new(options)
@middlewares << CookieManager.new(options)
@middlewares << @decompressor
@middlewares << @authenticator
@middlewares << @request_id
+ @middlewares << ValidateContentLength.new(options)
end