← Back to team overview

launchpad-dev team mailing list archive

Re: micro services: HTTP authentication in the datacentre and default protocol.

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11-06-02 10:33 PM, Robert Collins wrote:
> Must:
> * handle binary data (librarian, gpg signing requests,

AIUI, JSON does not natively support binary data.  It defines only a
unicode string datatype.

http://json.org/

There are all kinds of potential workarounds, from base64 encoding to
arrays of numbers, but you then need to specify that the item is bytes,
not whatever it appears to be.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3o5+cACgkQ0F+nu1YWqI1ExgCdE7Fhfj/SPKN+nyuMSI27zQSq
Eb4An36a3HfT/QCOvN3js3rgkRzei7qr
=nQ/v
-----END PGP SIGNATURE-----


Follow ups

References