projectkudu / ARMClient

A simple command line tool to invoke the Azure Resource Manager API
http://blog.davidebbo.com/2015/01/azure-resource-manager-client.html
Other
315 stars 96 forks source link

Allow custom Content-Type header values #39

Open shubhamgogna opened 6 years ago

shubhamgogna commented 6 years ago

The Program.ParseHttpContent function assumes that all content for PUT and POST calls is JSON. While that makes sense as the default, the user should be allowed to specify a custom value for the Content-Type header in cases where the content may not be JSON.

davidebbo commented 6 years ago

@s-gogna That sounds like a valid feature if you want to put together a PR. @suwatch, does that sound good to you?