You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Minghua Wu (Jira)" <ji...@apache.org> on 2022/07/05 21:00:00 UTC

[jira] [Created] (PROTON-2574) ProtonPython3 doesn't include body session in message if body is set to null

Minghua Wu created PROTON-2574:
----------------------------------

             Summary: 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


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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org