marpaia/chef-golang — pull request #2 by bakins (2014-01-05 23:11:28+00:00)
Title: allow connect by url and set header based on full path

I added a new method - not sure it and the other connect is needed. Based on http://docs.opscode.com/api_chef_server.html

"HASHED_PATH is the path of the request (/name_of_endpoint for the open source server and /organizations/organization_name/name_of_endpoint for Hosted Chef or Private Chef)."

But I think as it is implemented, this code should work on both. I don't have an open source server to test against, so no clue if it works there.