-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Currently, if the Content-Type is not application/xml, it will assume the Content-Type is JSON. The Service Bus APIs return "application/atom+xml", which is being incorrectly deserialized as JSON.
SerializerEncoding: https://azuresdkdocs.blob.core.windows.net/$web/java/azure-core/1.3.0-beta.1/com/azure/core/util/serializer/SerializerEncoding.html#fromHeaders-com.azure.core.http.HttpHeaders-
It would be nice to add a way to associate other content types with serializers and treat the HTTP requests and responses according to which ones can be handled.
Reactions are currently unavailable