[
https://issues.apache.org/jira/browse/QPIDIT-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kim van der Riet resolved QPIDIT-141.
-------------------------------------
Resolution: Fixed
> Incorrect handling of binary types
> ----------------------------------
>
> Key: QPIDIT-141
> URL: https://issues.apache.org/jira/browse/QPIDIT-141
> Project: Apache QPID Interoperability Test Suite
> Issue Type: Bug
> Components: AMQP Types Test, JMS Headers and Properties Test, JMS
> Message Test
> Affects Versions: 0.2.0
> Reporter: Kim van der Riet
> Assignee: Kim van der Riet
> Priority: Major
> Fix For: 0.3.0
>
>
> When binary test values are sent using JSON to the shims, they are converted
> to strings, as JSON cannot handle binary values. With the conversion of QIT
> tests to Python 3, the encoding of binary to strings has become an issue
> (under Py2, binary and str were synonymous).
> It is probably best that the binary be encoded into base64 and then converted
> to a string for use as a value in JSON. Each shim would then have to decode
> these values back to an appropriate binary value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]