Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.59.0, 1.7.0
-
None
-
None
Description
content-encoding: gzip
content-type: application/json; charset="utf-8"
When receiving a message with a compressed body, the content-encoding is ignored when decoding the message. This results in the client trying to decode the message as a Text message using the content-type's charset, which eventually leads to a MalformedInputException.
The message should either be decompressed first before trying to decode it, or it should at least be decoded as a Bytes message so that we can handle the content-encoding ourselves.