summaryrefslogtreecommitdiff
path: root/chef/lib/chef/streaming_cookbook_uploader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef/lib/chef/streaming_cookbook_uploader.rb')
-rw-r--r--chef/lib/chef/streaming_cookbook_uploader.rb2
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