You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python AMQP structured mode defaults to payload media type application/json #692
Because self.format_type defaults to application/json, it overrides the correct media type returned by the CloudEvents serializer.
Please derive the structured message content type from the selected event format or serializer output, independently of the payload content type. Add a generated-producer test that inspects the actual Proton Message content type.
This is separate from #638: explicitly requesting structured mode still produces the wrong media type even after the endpoint's default-mode selection is corrected. No generated code was hand-edited and no test assertion was weakened.
Activity