Skip to content

Why is the “datacontenttype” attribute being removed from the message content ? #295

@johntitanhawk

Description

@johntitanhawk

headers["content-type"] = attrs.pop("datacontenttype").encode("utf-8")

Hi, I don't understand why in the Python implementation the decision to pop instead of get was made. In the Java implementation, for the structured mode transport, the datacontenttype field remains in the message value.

Removing this field breaks compatibility between Python and other SDKs, such as Java.

Metadata

Metadata

Assignees

No one assigned

    Labels

    /v1denotes that an issue is specific to SDK v1

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions