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.
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.