diff options
author | Adam Jacob <adam@opscode.com> | 2010-03-02 02:45:35 -0800 |
---|---|---|
committer | Adam Jacob <adam@opscode.com> | 2010-03-02 02:45:35 -0800 |
commit | 1eba22e88c2adc9b49fe406a68e9e79105f5ca42 (patch) | |
tree | 1c9936dc8f15923292b3de39233c77269aad0292 | |
parent | b165dedf145c2c27168f8cdc87bdd61336c6a02a (diff) | |
download | chef-1eba22e88c2adc9b49fe406a68e9e79105f5ca42.tar.gz |
Adding X-Chef-Version to the cookbook uploader
-rw-r--r-- | chef/lib/chef/streaming_cookbook_uploader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/streaming_cookbook_uploader.rb b/chef/lib/chef/streaming_cookbook_uploader.rb index 5bacaff64a..e67aebb811 100644 --- a/chef/lib/chef/streaming_cookbook_uploader.rb +++ b/chef/lib/chef/streaming_cookbook_uploader.rb @@ -7,7 +7,7 @@ require 'openssl' class Chef class StreamingCookbookUploader - DefaultHeaders = { 'accept' => 'application/json' } + DefaultHeaders = { 'accept' => 'application/json', 'x-chef-version' => ::Chef::VERSION } class << self |