[
https://issues.apache.org/jira/browse/PROTON-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Minghua Wu updated PROTON-2574:
-------------------------------
Attachment: simple_sender.py
> ProtonPython3 doesn't include body session in message if body is set to null
> ----------------------------------------------------------------------------
>
> Key: PROTON-2574
> URL: https://issues.apache.org/jira/browse/PROTON-2574
> Project: Qpid Proton
> Issue Type: Bug
> Components: python-binding
> Affects Versions: proton-c-0.37.0
> Environment: Ubuntu 20.04 in WSL2, python3-qpid-proton/focal,now
> 0.37.0-1focal+qpid1 amd64, Python 3.8.10
> Reporter: Minghua Wu
> Priority: Minor
> Attachments: simple_sender.py
>
>
> According to page 82 of the specification
> {quote}• The body consists of one of the following three choices: one or more
> data sections, one or more amqp-sequence sections, or a single amqp-value
> section
> {quote}
> There should be *at least one* body section. However, when the body of the
> message is set to None (which probably should be encoded as amqp-value),
> there is not any body section found the in receiver side (ie. the payload
> doesn't come with any section that has the descriptor code 0x75, 0x76 or 0x77)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]