Uploaded image for project: 'Apache QPID Interoperability Test Suite'
  1. Apache QPID Interoperability Test Suite
  2. QPIDIT-141

Incorrect handling of binary types

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            kpvdr Kim van der Riet
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: