openstack.net
openstack.net copied to clipboard
The Content-Type header is ignored prior to JSON deserialization
The SDK should never attempt to deserialize the response as JSON if the Content-Type header of the response does not match the Accept header of the request. Currently, the Content-Type header is ignored, resulting in a JsonException if the response is not actually JSON.