marpaia / chef-golang

Go library to interact with the Chef server API
Other
77 stars 31 forks source link

Add header Content-Type in Post method #38

Closed zazab closed 10 years ago

zazab commented 10 years ago

This allows to send any data through posts. And it's the requirement of Chefs API.

marpaia commented 10 years ago

This is in trunk: https://github.com/marpaia/chef-golang/blob/master/api.go#L270