chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::REST#raw_http_request
Do a HTTP request where no middleware is loaded (e.g. JSON input/output conversion) but the standard Chef Authentication headers are added to the request.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/rest.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--REST-raw_http_request-for-pr
# Commit to gitgit add lib/chef/rest.rbgit commit -m "better docs for Chef::REST#raw_http_request"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--REST-raw_http_request-for-pr
hub pull-request
# Celebrate!