Class | Chef::CookbookSiteStreamingUploader |
In: |
lib/chef/cookbook_site_streaming_uploader.rb
|
Parent: | Object |
A streaming multipart HTTP upload implementation. Used to upload cookbooks (in tarball form) to cookbooks.opscode.com
inspired by stanislavvitvitskiy.blogspot.com/2008/12/multipart-post-in-ruby.html
DefaultHeaders | = | { 'accept' => 'application/json', 'x-chef-version' => ::Chef::VERSION } |